Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starting a new app fails. #104

Open
bigtunacan opened this issue Nov 8, 2015 · 3 comments
Open

Starting a new app fails. #104

bigtunacan opened this issue Nov 8, 2015 · 3 comments

Comments

@bigtunacan
Copy link

Once I get through setting up a project and try to run in on my Geny emu the default app crashes on startup with the following output. It looks like there is some Java dependency needed?

--------- beginning of main
--------- beginning of system
E/com/your_company/myapp( 1783): Exception raised: NameError: uninitialized constant `Com'
E/com/your_company/myapp( 1783): Uncaught exception when initializing `request.rb.x86.o' scope -- aborting
--------- beginning of crash
E/AndroidRuntime( 1783): FATAL EXCEPTION: main
E/AndroidRuntime( 1783): Process: com.your_company.myapp, PID: 1783
E/AndroidRuntime( 1783): java.lang.UnsatisfiedLinkError: JNI_ERR returned from JNI_OnLoad in "/data/app/com.your_company.myapp-1/lib/x86/libpayload.so"
@GantMan
Copy link
Member

GantMan commented Nov 8, 2015

did you gradle install?

@bigtunacan
Copy link
Author

@GantMan do you mean this step? rake gradle:install

I ran that inside the project directory prior to rake newclear at which point I'm getting the error output above.

@QuintinAdam
Copy link

A few other things I had issues with when setting this up were hyphens in the project names mostly app.name and app.package so get rid of them.

Also this line gives me the ArgumentError: wrong number of arguments (2 for 1) when running rake gradel:install

    dependency "com.mcxiaoke.volley", :artifact => "library", :version => "1.0.10"

To fix this I had to change it to

   dependency "com.mcxiaoke.volley:library:1.0.10"

After that running the gradel install and rake newclear worked.

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

No branches or pull requests

3 participants