|
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
|
|