Thanks for reporting, the good thing is that you can reproduce it, and even better you know how to make a debug version of the studio and run it under qt creator to catch the crash
Nope still can't build greater than 30 for Android as .apk or .aab output. I'm using Android Studio BumbleBee 2021.1.1
FAILURE: Build failed with an exception.
* What went wrong: Execution failed for task ':app:processReleaseMainManifest'. > Manifest merger failed : android:exported needs to be explicitly specified for . Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details
After updating a few apps, it would appear that manifest fix for API 32 builds breaks compatibility with Amazon Fire TV builds. I will report back when I have reverted one of my test submissions and see if it passes review again at API 30 level without the fix applied.
...and... just had the same app pass thru Google all OK but when I run it on my Android 12 mobile with the API 32 fix it crashes. Not sure how it even passed review LOL. Will know more when the test apps have gone thru review on the various devices/storefronts back at API 30 level.
Even worse, nothing I'm exporting currently is working correctly on real devices it seems, so reverting to older Gideros to see where the problem began.
Nope, tried everything I can think of and although .apk or .aab export fine at say API 30 or even 32 with the manifest fix, they all crash on my device on boot. Maybe it has something to do with updated Android Studio Bumblebee? Out of ideas currently but will keep playing with it more this week. Will try logcat on apk perhaps.
@hgy29 It is odd that Android Studio no longer seems to be able to attach an app process to logcat but you can still see the output amongst the entire device output there anyway (see logcat output below).
Trying another app I udpated anyway, It appears to be a problem with the newer dataSaver class I updated to recently. I can't use my old dataSaver. code as latest Gideros complains now. This is why I updated to the newer class version of dataSaver: recently.
If I swap back to very old dataSaver. method I get the error in Gideros player at least...
Main.lua:1331: attempt to call a nil value stack traceback: Main.lua:1331: in function LoadWarningStatus Main.lua:1341: in function
i.e.
1331 function LoadWarningStatus() local App_DataWarn=dataSaver.loadValue("App_DataWarn") end
--- logcat output using newer dataSaver:
2022-02-24 08:28:28.362 10832-10863/? E/AndroidRuntime: FATAL EXCEPTION: GLThread 3023 Process: com.mobileamusements.BigMoneyBugsSlotsFREE, PID: 10832 com.giderosmobile.android.player.LuaException: [string "luabinding/compatibility.lua"]:79: Module json not found stack traceback: [string "luabinding/compatibility.lua"]:79: in function require [string "dataSaver.lua"]:3: in function <[string "dataSaver.lua"]:1> at LUA.require(string_luabindingcompatibility.lua:79) at LUA.string_dataSaverlua1(string_dataSaver.lua:3)
Yes it was that above AND also ads initialisation causing crash. I use AppLovin & Unity in the free versions. Not sure what to do about those but my main mission is to update all the paid fire TV versions so not currently a problem yet.
I'm Using API 32 and Google Play Services version 20.6.0 (latest listed on Maven) in free version that still crashes. Paid & TV versions without ads plugin are fine now.
--- logcat output using AppLovin & Unity Ads
2022-02-24 08:55:20.787 21495-21495/? E/AndroidRuntime: FATAL EXCEPTION: main Process: com.mobileamusements.AquaSlots2TreasureIslandFREE, PID: 21495 java.lang.RuntimeException: Unable to get provider com.google.android.gms.ads.MobileAdsInitProvider: java.lang.IllegalStateException:
@hgy29 what does this mean in new version: [texture] Add a way to disable alpha premultiplication
In Gideros, texture rgb components are multiplied by the a component before uploading. This is a recommended behavior in OpenGL which helps with alpha blending. There is new setting when loading textures to tell Gideros to not premultiply components and upload texture as it is in the image file. This can be helpful if one wants to store specific data in the alpha channel of a texture along with a dedicated shader.
could this (along with a specific shader) help with that old request of mine to uniformly change the alpha of a mesh array? i.e., now setting alpha to 50% will make overlapping mesh parts look darker, but i want that all mesh parts have the same color even when overlapping.
actually i start to remember that the additional difficulty was that this should work for a collection of meshes as sometimes i have so huge a mesh that it does not fit into the vertex limit and so i have to split it into multiple meshes but they should behave as one when changing the opacity of this object.
Thank you hgy29 for building new gideros ReactPhysics3D v0.9 and so much more
PS: sorry for not replying before but I was waiting for R3D v0.9 to make my Gideros official example and I was right because the project crashes immediately upon launch, must be some classes have changed, will investigate.
EDIT: code highlighting does not work for me (gideros 2022.3), I cannot make reactphysics work anymore! I think I need a break
Comments
Likes: MoKaLux
Likes: MobAmuse
Likes: MobAmuse
Fragmenter - animated loop machine and IKONOMIKON - the memory game
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processReleaseMainManifest'.
> Manifest merger failed : android:exported needs to be explicitly specified for . Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details
Likes: keszegh, MobAmuse
Likes: hgy29
Likes: MobAmuse
Trying another app I udpated anyway, It appears to be a problem with the newer dataSaver class I updated to recently. I can't use my old dataSaver. code as latest Gideros complains now. This is why I updated to the newer class version of dataSaver: recently.
If I swap back to very old dataSaver. method I get the error in Gideros player at least...
Main.lua:1331: attempt to call a nil value
stack traceback:
Main.lua:1331: in function LoadWarningStatus
Main.lua:1341: in function
i.e.
1331 function LoadWarningStatus()
local App_DataWarn=dataSaver.loadValue("App_DataWarn")
end
--- logcat output using newer dataSaver:
2022-02-24 08:28:28.362 10832-10863/? E/AndroidRuntime: FATAL EXCEPTION: GLThread 3023
Process: com.mobileamusements.BigMoneyBugsSlotsFREE, PID: 10832
com.giderosmobile.android.player.LuaException: [string "luabinding/compatibility.lua"]:79: Module json not found
stack traceback:
[string "luabinding/compatibility.lua"]:79: in function require
[string "dataSaver.lua"]:3: in function <[string "dataSaver.lua"]:1>
at LUA.require(string_luabindingcompatibility.lua:79)
at LUA.string_dataSaverlua1(string_dataSaver.lua:3)
I'm Using API 32 and Google Play Services version 20.6.0 (latest listed on Maven) in free version that still crashes. Paid & TV versions without ads plugin are fine now.
--- logcat output using AppLovin & Unity Ads
2022-02-24 08:55:20.787 21495-21495/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.mobileamusements.AquaSlots2TreasureIslandFREE, PID: 21495
java.lang.RuntimeException: Unable to get provider com.google.android.gms.ads.MobileAdsInitProvider: java.lang.IllegalStateException:
******************************************************************************
* The Google Mobile Ads SDK was initialized incorrectly. AdMob publishers *
* should follow the instructions here: *
* https://googlemobileadssdk.page.link/admob-android-update-manifest *
* to add a valid App ID inside the AndroidManifest. *
* Google Ad Manager publishers should follow instructions here: *
* https://googlemobileadssdk.page.link/ad-manager-android-update-manifest. *
******************************************************************************
https://stackoverflow.com/questions/52786963/unable-to-get-provider-com-google-android-gms-ads-mobileadsinitprovider-java-la
[texture] Add a way to disable alpha premultiplication
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: keszegh
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
ReactPhysics3D v0.9 and so much more
PS: sorry for not replying before but I was waiting for R3D v0.9 to make my Gideros official example and I was right because the project crashes immediately upon launch, must be some classes have changed, will investigate.
EDIT: code highlighting does not work for me (gideros 2022.3), I cannot make reactphysics work anymore! I think I need a break
Viva Gideros Luau