android - Importing libgdx project into Eclipse Juno error Cannot find .apk -
i starting learn libgdx, , in process of importing 4 projects[desktop, main java game, android, html] eclipse juno. have not added lines of code, trying them run on different platforms.
it runs fine on desktop version, when tried run in android emulator error. cannot find mygdxgame.apk!
i realized gen folder empty, there no r.java project. have tried number of things make work, none of working. listing things have tried far, , reason why asking repeatedly asked question.
- project > clean
- package explorer [right click on project] > android tools > fix project issues
- deleted gen folder , project > clean
- restarted eclipse
- deleted project , imported again
- set compiler compliance level 1.6 both main java game , android project
- added dummy xml android project , tried clean, , deleted it
- unchecked , rechecked build automatically
- checked target-sdk in project.properties , made sure same project properties -> android , in manifest.xml
- [right click on project] > properties > java build path > source tab, removed mygdxgame/gen folder , added again
- made sure project properties > android > library unchecked
nothing has worked far. gen folder still empty , unable run android project because of same error. cannot find mygdxgame.apk!
what else can fix this? in case answered appreciate giving me link solution, have been pouring through , google in general 2 hours now, no success.
regs
what happened me few days ago:
1.- got sdk tools 22 update , installed it, no other update appeared in sdk manager... closed it.
2.- got "no apk" error , tried every answer find.
3.- opened sdk manager again, , noted sdk platform tools got update , there new one: sdk build tools. both of them didn't show when first updated sdk tools.. so.
answer:
open sdk manager , check if sdk tools, sdk platform tools, sdk build tools updated :)
Comments
Post a Comment