incubator-weex
incubator-weex copied to clipboard
[android] android targetSdkVersion 29 ashmem issue
As Google Play warn all apps need update targetSdkVersion to 29 before 2020.10, We must handle this issue, https://github.com/apache/incubator-weex/issues/2706
Warnings | |
---|---|
:warning: | No Changelog changes! - Can you add a Changelog? To do so,append your changes to the changelog.md |
:warning: | Current pr not bind the milestone |
:warning: | If your PR is about fixing a bug excluding crash the code,you should add the demo link in the PR description. Demo link: http://dotwe.org/vue |
Generated by :no_entry_sign: dangerJS against 8c5d8489430a5c8ea0028e941ac5b7639a1867e2
Successful self-test
Fails | |
---|---|
:no_entry_sign: | AndroidLint Result |
:no_entry_sign: |
Missing Permissions
../../src/main/java/org/apache/weex/WXEnvironment.java:410:
407 String ret = ""; 408 if(sApplication != null){ 409 try{ 410 ret = ((TelephonyManager) sApplication 411 .getSystemService(Context.TELEPHONY_SERVICE)).getDeviceId(); 412 }catch (SecurityException | NullPointerException e){ 413 WXLogUtils.e(WXLogUtils.getStackTrace(e)); ../../src/main/java/org/apache/weex/WXEnvironment.java:410: 407 String ret = ""; 408 if(sApplication != null){ 409 try{ 410 ret = ((TelephonyManager) sApplication 411 .getSystemService(Context.TELEPHONY_SERVICE)).getDeviceId(); 412 }catch (SecurityException | NullPointerException e){ 413 WXLogUtils.e(WXLogUtils.getStackTrace(e));
MissingPermission
Correctness
Error
Priority 9/10
|
:no_entry_sign: | AndroidLint Result |
:no_entry_sign: |
Missing Permissions
../../src/main/java/org/apache/weex/WXEnvironment.java:410:
407 String ret = ""; 408 if(sApplication != null){ 409 try{ 410 ret = ((TelephonyManager) sApplication 411 .getSystemService(Context.TELEPHONY_SERVICE)).getDeviceId(); 412 }catch (SecurityException | NullPointerException e){ 413 WXLogUtils.e(WXLogUtils.getStackTrace(e)); ../../src/main/java/org/apache/weex/WXEnvironment.java:410: 407 String ret = ""; 408 if(sApplication != null){ 409 try{ 410 ret = ((TelephonyManager) sApplication 411 .getSystemService(Context.TELEPHONY_SERVICE)).getDeviceId(); 412 }catch (SecurityException | NullPointerException e){ 413 WXLogUtils.e(WXLogUtils.getStackTrace(e));
MissingPermission
Correctness
Error
Priority 9/10
|
Generated by :no_entry_sign: dangerJS against 8c5d8489430a5c8ea0028e941ac5b7639a1867e2
Just judging the api level is a problem with Android R.Should judge target sdk version and api level together.
if (g_targetSDKInt >= 29 && device_api_level() >= 29)
As Google Play warn all apps need update targetSdkVersion to 29 before 2020.10, We must handle this issue, #2706
Successful self-test
大佬,修改了c文件后要如何打包呢?
targetSdkVersion29的问题解决了吗?我用后面c文件修改后的重新打包aar还是不行
Now that google play has started to execute, can we accelerate the completion of this matter?
targetSdkVersion29的问题解决了吗?我们着急提交包啊,不支持29不让提包
成功的自检
现在项目着急上线,我怎么操作来实现,或者给我联系方式来提问,感谢
我用后面c文件修改后的重新打包aar还是不行
targetSdkVersion29的问题解决了吗?我用后面c文件修改后的重新打包aar还是不行
同样不行
成功的自测
确定成功了吗?大佬