Hey guys!
My game is running well in gideros player and gideros player for android. The game works the way I want on both players. However, the problem came when I exported my game in android.
This is what happens:
1. I compile my game using the latest gideros android export which is at the first tab when you click export.
2. I will input my sdk version, etc. and keystore which I generated from cmd java keytool
3. It will create apk of my game
4. It will install in my phone
But the problem is the compiled apk of my game crashes just after the default gideros splashscreen.
What should I do?
Can you suggest me the ideal setup of android sdk for gideros. The sdk-tool version, platform-tool version, build-tool version, android api level, gradle version that will be the perfect fit for gideros.
Comments
Quite often the issue can be a filename that has been spelled incorrectly. The players will accept "picture.png" even if the file is called "PICTURE.png" but the exported APK will not.
Best way is to use LogCat and see what errors pop in there
Likes: SinisterSoft
Thanks for the opinion
I will try to review the assets of my game.
Btw. What is your android sdk configuration? What I mean is the version you used for build tools, platforms, and gradle to compile your project.
I am planning to fresh install my android sdk and gradle to the version that works perfectly with gideros.
https://deluxepixel.com
https://deluxepixel.com
link:
ADB
run from console:
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
spriteHandler = Core.class(Sprite)
function spriteHandler:init(spriteName, aX, aY, sX, sY, posX, posY, alpha)
local bmp = Bitmap.new(Texture.new(spriteName..".png"))
self:addChild(bmp)
self:setAnchorPoint(aX, aY)
self:setScale(sX, sY)
self:setPosition(posX, posY)
self:setAlpha(alpha)
end
So for example I want to create a sprite at main that lua. I will do this:
local ball = spriteHandler.new("ball", 0, 0, 1, 1, 240, 400, 1)
stage:addChild(ball)
Its working when testing a device player but I have a doubt that it is affecting my exported apk. What can you say?
http://giderosmobile.com/forum/discussion/7225/check-syntax
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!