How does it work? There is an error message in the import log...
Ignored Files:
--------------
The following files were *not* copied into the new Gradle project; you
should evaluate whether these are still needed in your project and if
so manually move them:
* gideros.jar
* jni\
* jni\Application.mk
---
What do I do now? I copied the gideros.jar file to the projects lib folder but it won;t build. It just says it can't find the package!
I post this here because I can't seem to find any tutorial or information on how to resolve this issue elsewhere. It is totally ruining my user experience thus far.
Can somebody point me in the right direction please?
Comments
Likes: SinisterSoft
https://deluxepixel.com
One pain will be Gideros not outputting the project to the proper location directly though - the sooner this gets updated the better.
https://deluxepixel.com
I use eclipse, it only bothers me when I need to update due to new android releases, but overall I am satisfied... and I suppose you have to update android studio too to the latest release... so why choose one over the other - which is already "supported" by gideros?
It would be best if Gideros export had a tickbox for Android Studio in the export.
Likes: simwhi, vyh77
https://deluxepixel.com
Likes: vyh77
I can't say anything about Eclipse vs Android Studio, since I am only using android Studio purely to compile APK files. currently besides getting the gideros.jar file added as a reference to make it actually compile my APK's I have no desire to investigate it further
Likes: SinisterSoft
Fragmenter - animated loop machine and IKONOMIKON - the memory game
providing a choice of exporting eclipse or android studio also could be an option
Likes: antix, SinisterSoft
(although i could not install android studio so far, so i might stick to eclipse as long as possible)
Fragmenter - animated loop machine and IKONOMIKON - the memory game
@keszegh, Do you get some specific error when installing Android Studio? I have installed on 2 of my workstations now, and my laptop without any issue.
Likes: SinisterSoft
Fragmenter - animated loop machine and IKONOMIKON - the memory game
To run the sample birds project I did the following:
1. Open birds project in Gideros Studio & verify it runs in the Gideros Emulator, then Export Project as Android.
2. Download Android Studio 1.1 - Install a ton of suggested crap - not sure exactly what.
3. In Android Studio, on the Welcome To Android Studio screen click "Import Project (Eclipse ADT, Grade. etc)
4. Browse to the directory that Gideros created for the export (should contain /assets, /src, gideros.jar and other Gideros generated files). Select the Directory and click "OK"
5. In Android Studio Project pane (left side) browse to the "app" directory. Then Create a directory called "libs"... and put gideros.jar in it so ..... /Bird Animation/app/libs/gideros.jar
6. Right-click gideros.jar and select "add as dependency". Verify that this worked by browsing to app/build.gradle. You should see
dependencies {
compile files('libs/gideros.jar')
}
**WARNING. There is another build.gradle file at the top level of your project. If Android Studio put the code there, then delete it and fix the mistake by making it put the lines in the correct build.grade
7. Drop to the terminal and in your Bird Animation/ folder there should be an executable file called ./gradelw so type $gradlew clean and it will download a bunch of crap
8. Click the "Play" button. As long as you have the Android SDK installed, it will popup a window, and you can select to run it in an Android Simulator. It will take a minute to pop up but it should work.
My major problems were #4,5,6 and then #8 I apparently didn't have an Android SDK installed (even though I thought I selected a few of them in #2).
@ar2sawseen mentioned in another thread this post (which is essentially where I stole this from but it wasn't geared towards OS X users)
http://stackoverflow.com/questions/16608135/android-studio-add-jar-as-library/16628496#16628496
I also had to google some error messages like : gradle dsl method not found 'compile()'
-velobuff
Fragmenter - animated loop machine and IKONOMIKON - the memory game