You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2018/11/02 03:17:34 UTC
[GitHub] noman798 opened a new issue #1694: 试图升级报错 修改0.16.0 为 compile 'com.taobao.android:weex_sdk:0.18.0'
noman798 opened a new issue #1694: 试图升级报错 修改0.16.0 为 compile 'com.taobao.android:weex_sdk:0.18.0'
URL: https://github.com/apache/incubator-weex/issues/1694
compile 'com.taobao.android:weex_sdk:0.18.0'
报错如下
11:13:20 : Error: Error: Command failed: ./gradlew assembleDebug
isLibProject: false, isAppProject: true
weex_plugin: []
/Users/z/git/phone.life/platforms/android/app/src/main/java/com/weex/app/WXPageActivity.java:166: 错误: 找不到符号
if (TextUtils.equals(errCode, WXRenderErrorCode.WX_NETWORK_ERROR)) {
^
符号: 变量 WX_NETWORK_ERROR
位置: 类 WXRenderErrorCode
/Users/z/git/phone.life/platforms/android/app/src/main/java/com/weex/app/WXPageActivity.java:240: 错误: 找不到符号
WXSDKEngine.switchDebugModel(true, debug_url);
^
符号: 方法 switchDebugModel(boolean,String)
位置: 类 WXSDKEngine
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
2 个错误
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> 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. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 10s
at checkExecSyncError (child_process.js:601:13)
at Object.execSync (child_process.js:641:13)
at /Users/z/.xtoolkit/node_modules/weexpack/lib/run/android.js:331:20
at new Promise (<anonymous>)
at buildApp (/Users/z/.xtoolkit/node_modules/weexpack/lib/run/android.js:327:10)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
![image](https://user-images.githubusercontent.com/12876555/47892042-aa61e780-de90-11e8-985b-72f63eaab4a0.png)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services