Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weex 0.28 upgrade issues #68

Open
dseeker opened this issue Nov 7, 2019 · 0 comments
Open

Weex 0.28 upgrade issues #68

dseeker opened this issue Nov 7, 2019 · 0 comments

Comments

@dseeker
Copy link

dseeker commented Nov 7, 2019

[✔] 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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant