Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

"package org.xwalk.app does not exist" when compile the code. #3

Closed
townxelliot opened this issue Feb 5, 2014 · 3 comments
Closed

Comments

@townxelliot
Copy link
Contributor

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

@townxelliot
Copy link
Contributor Author

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 :)

@townxelliot
Copy link
Contributor Author

Comment by townxelliot from Tuesday Jan 28, 2014 at 14:00 GMT


I have captured this issue in #8.

If you have no objection, I would like to close this issue for now.

@townxelliot
Copy link
Contributor Author

Closing, as no response to question, and covered by #5 .

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant