Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
android compiling is failing — Gideros Forum

android compiling is failing

yaduyadu Member
edited June 2016 in Bugs and issues
i export an android studio project from gideros and import it in the android studio ,everything is fine but the compiling is failing with the fallowing errors
Error:(9, 1) java: com.giderosmobile.android.Activity is already defined in this compilation unit
Error:(22, 8) java: cyclic inheritance involving com.giderosmobile.android.Activity
Error:(39, 33) java: modifier private,static not allowed here
Error:(45, 31) java: modifier private not allowed here
Error:(47, 25) java: modifier private not allowed here
Error:(48, 25) java: modifier private not allowed here
Error:(140, 39) java: cannot find symbol
  symbol:   variable KITKAT
  location: class android.os.Build.VERSION_CODES

Comments

  • yaduyadu Member
    changed
    public class Activity extends Activity implements OnTouchListener
    to
    public class Activity extends android.app.Activity implements OnTouchListener
    and everything is okay!
  • ar2rsawseenar2rsawseen Maintainer
    interesting, how did you name your game, usually it is supposed to be
    public class YourGameNameActivity extends Activity implements OnTouchListener
Sign In or Register to comment.