You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
Issue by DonnaWuDongxia from Tuesday Jan 07, 2014 at 11:17 GMT
When I finally get all the environments correct. compile error encounterred:
Error: command
javac -g -d /home/donna/work/wrt/xwalk-apk-generator/build/classes -source 1.5 -target 1.5 -Xlint:unchecked -Xlint:deprecation -classpath /home/donna/adt-bundle/sdk/platforms/android-17/android.jar:/home/donna/Downloads/crosswalk-2.31.27.5-x86/xwalk_app_template/libs/xwalk_app_runtime_client_java.jar /home/donna/work/wrt/xwalk-apk-generator/build/src/me/myname/myapp/My_appActivity.java /home/donna/work/wrt/xwalk-apk-generator/build/src/me/myname/myapp/R.java /home/donna/work/wrt/xwalk-apk-generator/build/src/org/chromium/content/R.java /home/donna/work/wrt/xwalk-apk-generator/build/src/org/chromium/ui/R.java /home/donna/work/wrt/xwalk-apk-generator/build/src/org/xwalk/core/R.java
returned bad code 1
Error output was:
warning: [options] bootstrap class path not set in conjunction with -source 1.5
/home/donna/work/wrt/xwalk-apk-generator/build/src/me/myname/myapp/My_appActivity.java:10: error: package org.xwalk.app does not exist
import org.xwalk.app.XWalkRuntimeActivityBase;
^
/home/donna/work/wrt/xwalk-apk-generator/build/src/me/myname/myapp/My_appActivity.java:12: error: cannot find symbol
public class My_appActivity extends XWalkRuntimeActivityBase {
^
symbol: class XWalkRuntimeActivityBase
/home/donna/work/wrt/xwalk-apk-generator/build/src/me/myname/myapp/My_appActivity.java:16: error: cannot find symbol
super.onCreate(savedInstanceState);
^
symbol: variable super
location: class My_appActivity
The text was updated successfully, but these errors were encountered:
Comment by townxelliot from Tuesday Jan 07, 2014 at 11:24 GMT
The code is only compatible with very recent versions of Crosswalk (I've been using latest canaries). In these later versions, all the java classes are in a single jar file. In the version you're using, they are in two jar files.
I should add a note about this to the README. Try using a later Crosswalk Android version (I tested with crosswalk-4.32.64.0-arm).
As you're starting to use it, I may have to begin making releases which match specific Crosswalk versions :)
Issue by DonnaWuDongxia from Tuesday Jan 07, 2014 at 11:17 GMT
When I finally get all the environments correct. compile error encounterred:
Error: command
javac -g -d /home/donna/work/wrt/xwalk-apk-generator/build/classes -source 1.5 -target 1.5 -Xlint:unchecked -Xlint:deprecation -classpath /home/donna/adt-bundle/sdk/platforms/android-17/android.jar:/home/donna/Downloads/crosswalk-2.31.27.5-x86/xwalk_app_template/libs/xwalk_app_runtime_client_java.jar /home/donna/work/wrt/xwalk-apk-generator/build/src/me/myname/myapp/My_appActivity.java /home/donna/work/wrt/xwalk-apk-generator/build/src/me/myname/myapp/R.java /home/donna/work/wrt/xwalk-apk-generator/build/src/org/chromium/content/R.java /home/donna/work/wrt/xwalk-apk-generator/build/src/org/chromium/ui/R.java /home/donna/work/wrt/xwalk-apk-generator/build/src/org/xwalk/core/R.java
returned bad code 1
Error output was:
warning: [options] bootstrap class path not set in conjunction with -source 1.5
/home/donna/work/wrt/xwalk-apk-generator/build/src/me/myname/myapp/My_appActivity.java:10: error: package org.xwalk.app does not exist
import org.xwalk.app.XWalkRuntimeActivityBase;
^
/home/donna/work/wrt/xwalk-apk-generator/build/src/me/myname/myapp/My_appActivity.java:12: error: cannot find symbol
public class My_appActivity extends XWalkRuntimeActivityBase {
^
symbol: class XWalkRuntimeActivityBase
/home/donna/work/wrt/xwalk-apk-generator/build/src/me/myname/myapp/My_appActivity.java:16: error: cannot find symbol
super.onCreate(savedInstanceState);
^
symbol: variable super
location: class My_appActivity
The text was updated successfully, but these errors were encountered: