android build error

58 views
Skip to first unread message

alis...@gmail.com

unread,
Dec 16, 2017, 12:23:57 PM12/16/17
to CodenameOne Discussions
If you are experiencing an issue please mention the full platform your issue applies to:
IDE: NetBeans/Eclipse/IDEA
Desktop OS
Simulator
Device

android build using latest
 can't find referenced method 'void setInlineStylesTheme(com.codename1.ui.util.Resources)'

Steve Hannah

unread,
Dec 16, 2017, 12:25:13 PM12/16/17
to codenameone...@googlegroups.com
Open project properties and then press "Update Project Libs".  That should fix the issue.

Steve

--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsub...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/627d9e3d-99b3-41d3-beba-4957ccdb18a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Steve Hannah
Software Developer
Codename One

alis...@gmail.com

unread,
Dec 16, 2017, 12:44:46 PM12/16/17
to CodenameOne Discussions
I get "Your project libs are up-to-date "

[proguard] Warning: ***** : can't find referenced method 'void setInlineStylesTheme(com.codename1.ui.util.Resources)' in class ****

Shai Almog

unread,
Dec 17, 2017, 12:33:44 AM12/17/17
to CodenameOne Discussions

alis...@gmail.com

unread,
Dec 17, 2017, 10:30:46 AM12/17/17
to CodenameOne Discussions
On Sunday, December 17, 2017 at 12:33:44 AM UTC-5, Shai Almog wrote:
> Are you using versioned build to build to an older release of Codename One?
> https://www.codenameone.com/how-do-i---get-repeatable-builds-build-against-a-consistent-version-of-codename-one-use-the-versioning-feature.html

No I'm using latest ,

Shai Almog

unread,
Dec 18, 2017, 1:02:22 AM12/18/17
to CodenameOne Discussions
What are the android.* build hints you are using? Are you disabling gradle or some other problematic hint?

alis...@gmail.com

unread,
Dec 18, 2017, 8:28:09 PM12/18/17
to CodenameOne Discussions

codename1.arg.android.proguardKeep=\  -keep class net.sourceforge.zbar.** {*;}
codename1.arg.android.gradle=false
codename1.arg.android.xpermissions=<uses-permission android\:name\="android.permission.CAMERA"/><uses-feature android\:name\="android.hardware.camera" android\:required\="false"/>

Shai Almog

unread,
Dec 19, 2017, 12:33:57 AM12/19/17
to CodenameOne Discussions
Can you provide the link to the full error log?
I don't see anything here but there might be something clearer in that file.
Reply all
Reply to author
Forward
0 new messages