-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
执行命令tinkerPatchRelease时编译不通过,assembleRelease是正常的。 #454
Comments
/Users/wind/StudioProjects/Dinner/app/build/intermediates/res/merged/release/values/public.xml:484: error: Public symbol attr/qupai_originalHeight declared here is not defined. |
在public.xml文件中的值 <public type="attr" name="qupai_originalHeight" id="0x7f010105" />
<public type="attr" name="qupai_originalWidth" id="0x7f010104" /> android中可以引用到这个值 R.styleable.qupai_AspectRatioLayout_qupai_originalHeight |
fixed with 1.7.9 |
bugly 1.3.0,也就是tinker 1.7.9,貌似还是有这个问题 |
异常类型:tinkerPatchRelease编译异常
手机型号:
手机系统版本:
tinker版本:如:1.7.7
gradle版本:如:2.3.0
是否使用热更新SDK:TinkerPatch SDK
系统:如:Mac
堆栈/日志:
tinkerpatch change application name from com.xkd.dinner.App to com.tinkerpatch.sdk.loader.TinkerPatchReflectApplication
:app:tinkerProcessReleaseManifest
tinker add tinker_id_1.0.0 to your AndroidManifest.xml /Users/wind/StudioProjects/Dinner/app/build/intermediates/manifests/full/release/AndroidManifest.xml
tinker add com.tinkerpatch.sdk.loader.TinkerPatchReflectApplication to dex loader pattern
tinker add com.tencent.tinker.loader.* to dex loader pattern
tinker gen AndroidManifest.xml in build/intermediates/tinker_intermediates/AndroidManifest.xml
:app:tinkerProcessReleaseResourceId
we build app apk with apply resource mapping file /Users/wind/StudioProjects/Dinner/app/build/bakApk/app-1.0.0-0425-11-17-21/release/app-release-R.txt
tinker gen resource public.xml in build/intermediates/tinker_intermediates/public.xml
tinker gen resource idx.xml in build/intermediates/tinker_intermediates/idx.xml
:app:processReleaseResources
/Users/wind/StudioProjects/Dinner/app/build/intermediates/res/merged/release/values/public.xml:484: AAPT: Public symbol attr/qupai_originalHeight declared here is not defined.
/Users/wind/StudioProjects/Dinner/app/build/intermediates/res/merged/release/values/public.xml:271: AAPT: Public symbol attr/qupai_originalWidth declared here is not defined.
/Users/wind/StudioProjects/Dinner/app/build/intermediates/res/merged/release/values/public.xml:484: error: Public symbol attr/qupai_originalHeight declared here is not defined.
/Users/wind/StudioProjects/Dinner/app/build/intermediates/res/merged/release/values/public.xml:271: error: Public symbol attr/qupai_originalWidth declared here is not defined.
:app:processReleaseResources FAILED
FAILURE: Build failed with an exception.
Execution failed for task ':app:processReleaseResources'.
引入了趣拍短视频库。
The text was updated successfully, but these errors were encountered: