I have downloaded the Corona-3523 build and start migrating my existing app to 64-bit Android version.
However, I found that the plugin.utf8.so is not included in the final apk.
Here is a quck test setup. I modified the Corona Natvie sample code “CustomErrorHandler” with following change:
- Add two lines in Corona/main.lua
local utf8 = require( “plugin.utf8” )
print( utf8.width( “asdfasdf” ) )
2. Change Corona/build.settings :
settings =
{
--[[
orientation =
{
default = “portrait”,
supported = { “portrait” }
},
--]]
iphone =
{
xcassets = “Images.xcassets”,
plist =
{
UILaunchStoryboardName = “LaunchScreen”,
},
},
plugins =
{
[“plugin.utf8”] =
{
publisherId = “com.coronalabs”
},
},
}
- Compile the Android build by:
./gradlew assembleRelease
- If we unzip the apk file, we check there is no “libplugin.utf8.so” found in any folder…
inflating: assets/resource.car
inflating: classes.dex
inflating: lib/arm64-v8a/libads.so
inflating: lib/arm64-v8a/libalmixer.so
inflating: lib/arm64-v8a/libanalytics.so
inflating: lib/arm64-v8a/libcorona.so
inflating: lib/arm64-v8a/libgameNetwork.so
inflating: lib/arm64-v8a/libjnlua5.1.so
inflating: lib/arm64-v8a/liblicensing.so
inflating: lib/arm64-v8a/liblua.so
inflating: lib/arm64-v8a/libmpg123.so
inflating: lib/arm64-v8a/libopenal.so
inflating: lib/armeabi-v7a/libads.so
inflating: lib/armeabi-v7a/libalmixer.so
inflating: lib/armeabi-v7a/libanalytics.so
inflating: lib/armeabi-v7a/libcorona.so
inflating: lib/armeabi-v7a/libgameNetwork.so
inflating: lib/armeabi-v7a/libjnlua5.1.so
inflating: lib/armeabi-v7a/liblicensing.so
inflating: lib/armeabi-v7a/liblua.so
inflating: lib/armeabi-v7a/libmpg123.so
inflating: lib/armeabi-v7a/libopenal.so
inflating: lib/x86/libads.so
inflating: lib/x86/libalmixer.so
inflating: lib/x86/libanalytics.so
inflating: lib/x86/libcorona.so
inflating: lib/x86/libgameNetwork.so
inflating: lib/x86/libjnlua5.1.so
inflating: lib/x86/liblicensing.so
inflating: lib/x86/liblua.so
inflating: lib/x86/libmpg123.so
inflating: lib/x86/libopenal.so
inflating: lib/x86_64/libads.so
inflating: lib/x86_64/libalmixer.so
inflating: lib/x86_64/libanalytics.so
inflating: lib/x86_64/libcorona.so
inflating: lib/x86_64/libgameNetwork.so
inflating: lib/x86_64/libjnlua5.1.so
inflating: lib/x86_64/liblicensing.so
inflating: lib/x86_64/liblua.so
inflating: lib/x86_64/libmpg123.so
inflating: lib/x86_64/libopenal.so