起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1864|回复: 0

[分享] 来个大神

[复制链接]

4

主题

6

帖子

10

积分

新手上路

Rank: 1

积分
10
QQ
发表于 2016-9-18 10:47:06 | 显示全部楼层 |阅读模式

   D:\wex5\model\Native\apptest\build\src\platforms\android\res\drawable-xhdpi\icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
   D:\wex5\model\Native\apptest\build\src\platforms\android\res\drawable-ldpi\icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
   D:\wex5\model\Native\apptest\build\src\platforms\android\res\drawable-hdpi\icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
   D:\wex5\model\Native\apptest\build\src\platforms\android\res\drawable-mdpi\icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
   D:\wex5\model\Native\apptest\build\src\platforms\android\build\intermediates\exploded-aar\android\JustepGetContent\unspecified\res\drawable\camera_ok.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
   :mergeDebugResources
   :processDebugManifest
   :processDebugResources
   :generateDebugSources
   D:\wex5\model\Native\apptest\build\src\platforms\android\src\android\JsForAndroid.java:6: 错误: 程序包com.zw3s.yanfa.activity不存在
   import com.zw3s.yanfa.activity.CompassActivity;
                                 ^
   D:\wex5\model\Native\apptest\build\src\platforms\android\src\android\JsForAndroid.java:34: 错误: 找不到符号
          Intent intent = new Intent(cordova.getActivity(), CompassActivity.class);
                                                            ^
     符号:   类 CompassActivity
     位置: 类 JsForAndroid
   注: 某些输入文件使用或覆盖了已过时的 API。:compileDebugJava FAILED
   
   BUILD FAILED
   
   Total time: 13.166 secs
   
   注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
   注: 某些输入文件使用了未经检查或不安全的操作。
   注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
   2 个错误
   
   FAILURE: Build failed with an exception.
   
   * What went wrong:
   Execution failed for task ':compileDebugJava'.
   > Compilation failed; see the compiler error output for details.
   
   * Try:
   Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
   ERROR building one of the platforms: Error: cmd: Command failed with exit code 1
   You may not have the required environment or OS to build this project
   
   D:\wex5\model\Native\apptest\build\src\platforms\android\cordova\node_modules\q\q.js:126
                       throw e;
                       ^
   Error code 1 for command: cmd with args: /s /c "D:\wex5\model\Native\apptest\build\src\platforms\android\gradlew cdvBuildDebug -b D:\wex5\model\Native\apptest\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline"
   Error: cmd: Command failed with exit code 1
****ERROR****: 子任务 "exec" 执行失败。
****ERROR****: 任务 "buildAndroid" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: exec returned: 1
****ERROR****: 如不能确定具体问题,可参考常见问题: http://wex5.com/cn/bbs/thread-82002-1-1.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-5-9 09:32 , Processed in 0.058326 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表