Hi, with this last version of Gideros I'm getting the following error while Building with Android Studio. I'm not sure if I have something wrong with my Android SDK installation. I was rechecking the instructions here https://developer.android.com/sdk/installing/adding-packages.html and everything seems fine. Gideros is exporting projects with API 19 so i added this API to the SDK as well, besides the last one 22.
Not tried the bird animation demo, but things I make work ok exported to Eclipse.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
@SinisterSoft thanks for the answer! I envy you to me nothing works, I just tried the "Button" example, and it doesn't work either. What PC, eclipse and gideros are you using? maybe it would be nice to include this kind of info in our signatures.
@ar2rsawseen nice to hear that, I was thinking that I'm just not useful for developing When are you releasing this patch? I'm desperate to publish my game for Android!
@vyh77 I'm using the version of Eclipse supplied by NVidia. I have the latest Android files downloaded too.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
I'm not sure what you mean? Do you get a message from the system if you do this?
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Comments
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Information:Gradle tasks [:app:assembleDebug]
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:compileDebugNdk UP-TO-DATE
:app:checkDebugManifest
:app:prepareDebugDependencies
:app:compileDebugAidl UP-TO-DATE
:app:compileDebugRenderscript UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources UP-TO-DATE
:app:processDebugManifest UP-TO-DATE
:app:processDebugResources UP-TO-DATE
:app:generateDebugSources UP-TO-DATE
:app:compileDebugJava
/Users/ronald/AndroidStudioProjects/Bird Animation/app/src/main/java/com/giderosmobile/android/BirdAnimationActivity.java
Error:(132, 3) error: cannot find symbol class TargetApi
Error:Execution failed for task ':app:compileDebugJava'.
> Compilation failed; see the compiler error output for details.
Information:BUILD FAILED
Information:Total time: 2.933 secs
Information:2 errors
Information:0 warnings
Information:See complete output in console
The Gradle console added these details:
:app:compileDebugJava
/Users/ronald/AndroidStudioProjects/Bird Animation/app/src/main/java/com/giderosmobile/android/BirdAnimationActivity.java:132: error: cannot find symbol
@TargetApi(Build.VERSION_CODES.KITKAT)
^
symbol: class TargetApi
location: class BirdAnimationActivity
1 error
FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 2.933 secs
So I installed it on a Windows 8 machine, together with jdk 7, and building the bird example with API 19 and 21 gives me the same error!
How are you guys building for Android?
@TargetApi(Build.VERSION_CODES.KITKAT)
is it only me who is getting this errors? maybe I have a wrong set up?
@ar2rsawseen it seems to me that you are using neither Android Studio nor Eclipse. How are you creating your APKs from the exported Gideros project?
https://deluxepixel.com
@ar2rsawseen nice to hear that, I was thinking that I'm just not useful for developing When are you releasing this patch? I'm desperate to publish my game for Android!
Here http://www.giderosmobile.com/DevCenter/index.php/Deployment says:
"Choose General → Existing Projects into Workspace"
but correct should be
"Android → Existing Android Code into Workspace"
or am I wrong?
And last thing, if the manuals say we use Eclipse, please test with this tool before releasing new versions of Gideros.
Updated wiki page
https://deluxepixel.com
"android and ios (hold finger on screen for more than 5 seconds and release)" I need to hold finger on screen in my game
https://deluxepixel.com