Original issue 701 created by c7syan on 2014-11-07T23:34:07.000Z:
This error occurred when use the apk tool to build the apk. The original APK works, and the original APK was decoded using apk tool, then build using the same apk tool.
Android 4.4.2 API level 19
Apk tool: 2.0.0_CR (Latest)
No stack trace for error message, only message is:
E:\Android\TestApk\res\values-v17\dimens.xml:3: error: Error: Resource is not public. (at 'notification_subtext_size' with value '@android:dimen/notification_large_icon_circle_padding').
Comment #1 originally posted by c7syan on 2014-11-08T02:49:50.000Z:
Discard this one since it's explained in the Q&A
Comment #2 originally posted by c7syan on 2014-11-08T02:50:17.000Z:
Remove this one. This is explained in the Q&A
Comment #3 originally posted by connor.tumbleson on 2014-11-08T02:56:17.000Z:
<empty>
Running into this, and can't seem to find the solution
You are using private resources. You can't, as they will change between platform releases. You have to move private resources into your own application package and reference them that way.
Yeah I retried the @*android thing again and it worked, I don't know why it didn't before.
I plan to ship the app with the system so that won't be a problem, thanks!
Hi @Aaahh, can you please share the "@*android thing" code as i am having the same problem.
@idrisbohra
So every resource that errors out, you replace @android with @*android
'So every resource that errors out, you replace @android with @*android'!
Yeah, it is a good solution. It works at least for app of mine.
Thanks!
Most helpful comment
@idrisbohra
So every resource that errors out, you replace @android with @*android