Create Live Build on Android 6.0.1 (two tablets) font file not found? .ttf

This is weird…

I “Build” for Android and check the “Create Live Build” and it’s bigger APK size wise (1mb) than debug version. That isn’t bothering me, but when running the App the TTF font isn’t rendering.  However, using the same project and unchecking the box and building a debug version the font works just fine on device.

Any ideas/solutions?  Maybe I need to tell the build settings about the files/fonts?

I’m going to move this to the live builds forum. It’s still in beta and we are looking for reports like this. There was another report this morning about fonts not working with live builds. The engineers will want to know this.

As far as the size, I can see it being larger than a standard APK because we have to build all of the live build code in. You won’t deploy with the live build code, so for now the increase in APK size should not be an issue.

Rob

Ok, sounds good and thanks for replying quickly.  I am having lots of fun using Corona SDK and working on a mobile game.

I would agree, it’s a lot of fun and hopefully Live Builds will make it an even better experience.

Rob

Quick update: First of all, thank you for reporting this. Fix would be rolled out as soon as possible (this means sometime early next week).

@vlads way cool!! Thanks for the reply.  I am looking forward to trying it out.

This should be fixed in latest daily build (2993). Please, give it a try.

Hi, great!! :slight_smile:  I will give it a try tomorrow.

I finally got around to testing it.  Other duties got in the way.  However, when I copy the APK over to the device it launches, Corona Splash screen is shown very briefly and I end up at a black screen.  :(   Did I forget to use the magic word?

Anything useful in the device’s console log?

Rob

This usually happens when you have error in your code. It would be printed into device console.

Here is the adb logcat :

12-08 11:42:19.184 &nbsp; 698 &nbsp; 716 I ActivityManager: Displayed com.anedix.cardwell.paul.cars/com.ansca.corona.CoronaActivity: +670ms 12-08 11:42:19.204 10309 10507 V Corona &nbsp;: \> Class.forName: network.LuaLoader 12-08 11:42:19.204 10309 10507 V Corona &nbsp;: \< Class.forName: network.LuaLoader 12-08 11:42:19.205 10309 10507 V Corona &nbsp;: Loading via reflection: network.LuaLoader 12-08 11:42:19.219 10309 10507 I Corona &nbsp;: Platform: SHIELD Tablet K1 / ARM Neon / 6.0.1 / NVIDIA Tegra / OpenGL ES 3.2 NVIDIA 361.00 / 2016.2997 / English | US | en\_US | en 12-08 11:42:19.248 10309 10507 E linker &nbsp;: readlink('/proc/self/fd/47') failed: Permission denied [fd=47] 12-08 11:42:19.248 10309 10507 E linker &nbsp;: warning: unable to get realpath for the library "/data/app/com.anedix.cardwell.paul.cars-1/lib/arm/liblicensing.so". Will use given name. 12-08 11:42:19.252 10309 10507 V Corona &nbsp;: \> Class.forName: CoronaProvider.licensing.google.LuaLoader 12-08 11:42:19.252 10309 10507 V Corona &nbsp;: \< Class.forName: CoronaProvider.licensing.google.LuaLoader 12-08 11:42:19.254 10309 10507 V Corona &nbsp;: Loading via reflection: CoronaProvider.licensing.google.LuaLoader 12-08 11:42:19.258 10309 10507 V Corona &nbsp;: \> Class.forName: plugin.liveBuild.LuaLoader 12-08 11:42:19.258 10309 10507 V Corona &nbsp;: \< Class.forName: plugin.liveBuild.LuaLoader 12-08 11:42:19.258 10309 10507 V Corona &nbsp;: Loading via reflection: plugin.liveBuild.LuaLoader 12-08 11:42:21.330 &nbsp; 698 &nbsp; 763 D ConnectivityService: updateNetworkScore for NetworkAgentInfo [WIFI () - 133] to 60 12-08 11:42:21.330 &nbsp; 698 &nbsp; 763 D ConnectivityService: rematching NetworkAgentInfo [WIFI () - 133] 12-08 11:42:23.080 &nbsp; 279 &nbsp; 279 D Raydium\_ts\_main: ## Report rate in 10 seconds =2094 12-08 11:42:30.381 &nbsp; 698 &nbsp; 763 D ConnectivityService: updateNetworkScore for NetworkAgentInfo [WIFI () - 133] to 56 12-08 11:42:30.381 &nbsp; 698 &nbsp; 763 D ConnectivityService: rematching NetworkAgentInfo [WIFI () - 133] 12-08 11:42:34.665 28434 28434 D mobi.infolife.taskmanager.AlarmReceiver: mobi.infolife.taskmanager.ACTION\_SELF\_CHECK 12-08 11:42:34.668 28434 28434 D mobi.infolife.taskmanager.AlarmReceiver: app not in foreground 12-08 11:42:34.676 28434 28434 I Process : Sending signal. PID: 28434 SIG: 9 12-08 11:42:34.750 &nbsp; 698 &nbsp;7615 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [id=112, legacyType=-1, [ Capabilities: INTERNET&NOT\_RESTRICTED&TRUSTED] ], android.os.BinderProxy@346fff4)

This is weird… Try using latest daily build 2016.3001

Same error using build 2016.3001.   I did a build using Debug version (same code) and it works fine on device.

May I ask to post your build.settings?

Ok, after uninstalling and fixing a bug I found.  The App works fine with Create Live build.  The network call downloads the remote image from the cloud and animates it on the screen. :slight_smile:

@vlads thank you for figuring out the issue!!

Welcome! Thank you for helping track them down and fix them!

I’m going to move this to the live builds forum. It’s still in beta and we are looking for reports like this. There was another report this morning about fonts not working with live builds. The engineers will want to know this.

As far as the size, I can see it being larger than a standard APK because we have to build all of the live build code in. You won’t deploy with the live build code, so for now the increase in APK size should not be an issue.

Rob

Ok, sounds good and thanks for replying quickly.  I am having lots of fun using Corona SDK and working on a mobile game.

I would agree, it’s a lot of fun and hopefully Live Builds will make it an even better experience.

Rob