natjs / nat

A powerful kit for adding native functionalities to your weex app.
http://natjs.com
282 stars 25 forks source link

Weex 0.28 upgrade issues #68

Open dseeker opened 5 years ago

dseeker commented 5 years ago
[✔] Start hotreload server done
[✔] Set native config done
[✔] Copy JS source done
[✔] Watch JS source done
⠧ Error: Command failed: ./gradlew clean assembleDebug
isLibProject: false, isAppProject: true
weex_plugin: [{"dependency":"com.instapp.nat:weex-plugin-device-info:1.0.0-alpha","groupId":"com.instapp.nat","name":"weex-plugin-device-info","type":"maven","version":"1.0.0-alpha"}]
add dependency "compile 'com.instapp.nat:weex-plugin-device-info:1.0.0-alpha'"
/Users/**/demoapp/platforms/android/app/src/main/java/com/weex/app/AbsWeexActivity.java:400: error: cannot find symbol
    filter.addAction(WXSDKInstance.ACTION_DEBUG_INSTANCE_REFRESH);
                                  ^
  symbol:   variable ACTION_DEBUG_INSTANCE_REFRESH
  location: class WXSDKInstance
/Users/**/demoapp/platforms/android/app/src/main/java/com/weex/app/AbsWeexActivity.java:495: error: cannot find symbol
      if (WXSDKInstance.ACTION_DEBUG_INSTANCE_REFRESH.equals(intent.getAction())) {
                       ^
  symbol:   variable ACTION_DEBUG_INSTANCE_REFRESH
  location: class WXSDKInstance
/Users/**/demoapp/platforms/android/app/src/main/java/com/weex/app/WXPageActivity.java:165: error: cannot find symbol
    if (TextUtils.equals(errCode, WXErrorCode.WX_DEGRAD_ERR_NETWORK_CHECK_CONTENT_LENGTH_FAILED.getErrorCode())) {
                                             ^
  symbol:   variable WX_DEGRAD_ERR_NETWORK_CHECK_CONTENT_LENGTH_FAILED
  location: class WXErrorCode
Note: /Users/**/demoapp/platforms/android/app/src/main/java/com/weex/app/AbsWeexActivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 errors

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.

    at ChildProcess.exithandler (child_process.js:294:12)
    at ChildProcess.emit (events.js:198:13)
    at maybeClose (internal/child_process.js:982:16)
    at Socket.stream.socket.on (internal/child_process.js:389:11)
    at Socket.emit (events.js:198:13)
    at Pipe._handle.close (net.js:606:12)