codenameone - Which SDK and Build Tools versions do I use to compile sources generated from the CN1 build server? -
i'm trying debug code runs on android test device. sent build cn1 server , downloaded resulting sources.zip, used create project in android developer studio.
when compile using compile sdk version: api21 or api 22 build tools version: 21.1.2 or 22.0.1, respectively
i following compile errors:
c:\home\dev\proxyserverdebug\build\intermediates\res\merged\debug\values-v23\values-v23.xml error:(3) error retrieving parent item: no resource found matches given name 'android:textappearance.material.widget.button.inverse'. error:(18) error retrieving parent item: no resource found matches given name 'android:widget.material.button.colored'. error:execution failed task ':processdebugresources'. > com.android.ide.common.process.processexception: org.gradle.process.internal.execexception: process 'command 'c:\opt\android-sdk\build-tools\22.0.1\aapt.exe'' finished non-zero exit value 1 when compile using compile sdk version: api 23 build tools version: 23.0.2
i following compile errors:
c:\home\dev\proxyserverdebug\src\main\java\com\codename1\impl\android\androidimplementation.java error:(4563, 21) error: cannot find symbol method setlatesteventinfo(activity,string,string,pendingintent) c:\home\dev\proxyserverdebug\src\main\java\com\codename1\impl\android\pushnotificationservice.java error:(110, 18) error: cannot find symbol method setlatesteventinfo(pushnotificationservice,string,string,pendingintent) is matter of setting correct sdk , build tools versions? or missing else? btw, sources generated morning, should on latest cn1 3.3 release.
if recall correctly should 22.0.1 reason build fails default need configure external gradle directory explained in how build native android sources codename one's build server
Comments
Post a Comment