I'm having all problems trying to create a .apk
I have android sdk and eclipse downloaded, but still can't create a .apk
UPDATE:I found the procedure at the bottom of the page here:
http://www.giderosmobile.com/DevCenter/index.php/DeploymentI get to "Select root directory and choose the directory you used to export your application.",
but i get "No projects are found to import" even though the project I exported from Gideros is there.
Comments
You're right. I recognized that the hidden files (whose names begin with a dot) are not copied while exporting. If you want, you can manually copy .classpath and .project files (which are in /Applications/Gideros 2011.9 beta2/Gideros Studio.app/Contents/Templates/Eclipse/Android Template) to your exported directory, import the project to eclipse, rename your project and deploy.
Thanks again for the bug report
because of this error: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
I guess that means the app must be signed. So I tried to make a signed apk, but I can't
because I have these errors:
I'm surprised there isn't an easier way to make a apk and bypass eclipse.
Also, the unassigned apk that I did make had all the .lua files with extension
.jet (maingame.lua.jet). I noticed that these files were not encrypted. When I
create a signed apk, will these files be encrypted?
Thanks,
Mike
then I selected java compiler and chose compliance level 1.6, no errors.
So I installed the apk on the device, but when I run I just get a blank black screen.
The project plays o.k when using the Gideros player.
Can you try right click on the project and choose AndroidTools->Fix Project Properties, and then clean the project? (also you may need to restart eclipse) We also think that using eclipse is a hard way to make .apk files and we've started to work on easy and automated ways.
The bytecode compilation of lua files will come with the next version. But lua compiler (luac) is already included with the installation (/Applications/Gideros 2011.9 beta2/Gideros Studio.app/Contents/Tools). If you want you can compile the lua files before packaging as:
luac -o maingame.lua.jet maingame.lua.jet
Likes: chipster123
Nice to know about the luac -o command. I'll use it before sending to the app
store.
I emailed you the apk file.
Thanks
I'll rebuild with Beta 3 and test my app this weekend. I everything is o.k
I'll send to Android market Monday.
Thanks Gideros team for for listening to all of are request and fixing the bugs
so fast!
Mike
That would be so awesome, since I was planning to make a quick Android app using Lua instead of Java to speed up and optimize time of development.
Thanks in advance,
fr33
fr334rtist
Thanks again, wonderful platform
fr33
fr334rtist
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
the settings are an Android 2.2 device with 320x480 display screen, tried it with various other settings too, but the same, Black Blank screen.
http://howto.oz-apps.com
http://reviewme.oz-apps.com
@ozapps, @whatsin4me
Likes: koeosstudio
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
We know that using 'require' function doesn't work with exported Android projects. Can you check your project?
http://www.giderosmobile.com/forum/discussion/comment/2126#Comment_2126
Someone had an issue with android and the answer was "We used a "require" command and because all Lua files are executed automatically it was not... for any better word... required.
(Any require calls should be deleted) "
Mike
http://www.sharksoupstudios.com
You can directly use dofile and loadfile if the file extension is not .lua
Unfortunately it did not work even in the morning or noon.
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
Likes: chipster123
I've created a Bird_Animation.apk just like yours and it works on
- Kindle Fire
- Galaxy S II
- Galaxy Tab 7
- Galaxy Tab 10.1
Can you send me your Bird_Animation.apk? Maybe I can catch a clue from yours.
OK, did not quite understand that at first. Now that makes sense.
@Atilim,
I have send you an email with the file, so maybe you can suggest accordingly.
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
(With animation bird, it had no problem)
Thank you.