-
Notifications
You must be signed in to change notification settings - Fork 85
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
Problem getting the settings robopod to work #106
Comments
The latest version of |
Thanks for the quick reply. I've changed the dependencies to: But this causes the following errors:
Is there a special repository needed to access the snapshot? |
Any ideas what could be wrong here? |
I have no idea what's wrong here. Neither does my local AndroidConfig contain any code, nor can I access the snapshot version of the robopods. Deleting ~/.robovm and ~/.robovm-sdks didn't change anything. It seems like there's something wrong... maybe in the project structure? or in the build configuration? I don't know! Any advice is appreciated... |
Hello RoboVM Team,
I just tried to add the new settings robopod (1.14.0) to an existing project. While looking at the source of the settings example, I've noticed the following two lines of code at line 9 and 18 in MainActivity.java
Now the problem is, that
import org.robovm.pods.android.AndroidConfig;
can't be found if it's added to the import statements at the projects main activity (android). Instead there seems to be a classorg.robovm.pods.AndroidConfig;
, but it seems to be empty, which causes the compiler to throw an error at:AndroidConfig.setLaunchActivity(this);
So I just tried to simply remove the two lines, which causes the app to compile, but crash because of:
This indicates that the call of
AndroidConfig.setLaunchActivity(this);
is required (well..., a pure guess). Do you have any ideas what could be wrong here? The dependencies in the build.gradle files look like this:Core:
compile 'org.robovm:robopods-settings-core:1.14.0'
Android:
compile 'org.robovm:robopods-settings-android:1.14.0'
iOS:
compile 'org.robovm:robopods-settings-ios:1.14.0'
I couldn't figure out what's wrong here, by just looking at the example code, so any advice how to get the settings robopod running is welcome.
Thank you.
The text was updated successfully, but these errors were encountered: