plugin.gameanalytics_v2 not found - does not exist in archive

Hi,

I’m having a plugin problem. When I build for iOS Simulator I get a Runtime error:

“module ‘plugin.gameanalytics_v2’ not found:resource (plugin.gameanalytics_v2.lu) does not exist in archive…”

And lots more after that.

My build.settings has…

[“plugin.gameanalytics_v2”] =

{

publisherId = “com.gameanalytics”,

            supportedPlatforms = { iphone=true, android=true }

},

Haven’t changed anything for some time, but did upgrade Corona recently.

I have tried to build a sample app with this plugin and it was launched on Xcode iOS Simulator successfully. 

Seems the plugin zip was not downloaded completely in your case. Is there anything interesting in the console log?

Hi, I’m having the same problem. I get the error below in logcat, about 2/3 of the time. Meaning that sometimes when I get the error it crashes the app, and sometimes it not happen, and just goes along as planned. I have tried reinstalling Corona, deleting the Corona and Corona-simulator folders from ~Library/Application Support. I’ve also tried building with an empty project and just the gameanalytics_v2 plugin, and I get it. I’ve tried this on Corona SDK build 2017.3135, and 2017.3160, and gotten the same bug.

11-03 14:30:45.632 10179 10192 I Corona&nbsp; : ANALYTICS: USING VERSION 2 11-03 14:30:45.632 10179 10192 V Corona&nbsp; : \> Class.forName: plugin.gameanalytics\_v2.LuaLoader 11-03 14:30:45.632 10179 10192 V Corona&nbsp; : \< Class.forName: plugin.gameanalytics\_v2.LuaLoader 11-03 14:30:45.632 10179 10192 V Corona&nbsp; : Loading via reflection: plugin.gameanalytics\_v2.LuaLoader 11-03 14:30:45.632 10179 10192 I Corona&nbsp; : /Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:906: module 'plugin.gameanalytics\_v2' not found:resource (plugin.gameanalytics\_v2.lu) does not exist in archive 11-03 14:30:45.632 10179 10192 I Corona&nbsp; : no field package.preload['plugin.gameanalytics\_v2'] 11-03 14:30:45.632 10179 10192 I Corona&nbsp; : no file '(null)/plugin/gameanalytics\_v2.lua' 11-03 14:30:45.632 10179 10192 I Corona&nbsp; : no file '(null)/plugin/gameanalytics\_v2.lua' 11-03 14:30:45.632 10179 10192 I Corona&nbsp; : no file '/data/app/cat.s.f-1/lib/arm/libplugin/gameanalytics\_v2.so' 11-03 14:30:45.632 10179 10192 I Corona&nbsp; : no file './plugin/gameanalytics\_v2.so' 11-03 14:30:45.632 10179 10192 I Corona&nbsp; : no file '(null)/plugin/gameanalytics\_v2.so' 11-03 14:30:45.632 10179 10192 I Corona&nbsp; : no file '/data/app/cat.study.f-1/lib/arm/libplugin.so' 11-03 14:30:45.632 10179 10192 I Corona&nbsp; : no file './plugin.so' 11-03 14:30:45.632 10179 10192 I Corona&nbsp; : no file '(null)/plugin.so' 11-03 14:30:45.632 10179 10192 I Corona&nbsp; : no file '/data/app/cat.s.f-1/lib/arm/libplugin.gameanalytics\_v2.so' 11-03 14:30:45.632 10179 10192 I Corona&nbsp; : no file './plugin.gameanalytics\_v2.so' 11-03 14:30:45.632 10179 10192 I Corona&nbsp; : no file '(null)/plugin.gameanalytics\_v2.so'plugin.gameanalytics\_v2 11-03 14:30:45.632 10179 10192 I Corona&nbsp; : stack traceback: 11-03 14:30:45.632 10179 10192 I Corona&nbsp; : [C]: in function 'require' 11-03 14:30:45.632 10179 10192 I Corona&nbsp; : /Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:906: in function \</Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:814\> 11-03 14:30:45.632 10179 10192 I Corona&nbsp; : (tail call): ? 11-03 14:30:45.632 10179 10192 I Corona&nbsp; : /Users/mac/apps/FEI15.1.14-android/lib/analytics/GameAnalyticsAdapter\_v2.lua:31: in function 'new' 11-03 14:30:45.632 10179 10192 I Corona&nbsp; : /Users/mac/apps/FEI15.1.14-android/lib/analytics/Analytics.lua:244: in function 'init' 11-03 14:30:45.632 10179 10192 I Corona&nbsp; : /Users/mac/apps/FEI15.1.14-android/boot/phase\_6.lua:14: in function 'run' 11-03 14:30:45.632 10179 10192 I Corona&nbsp; : /Users/mac/apps/FEI15.1.14-android/boot/up.lua:55: in function 'executePhase' 11-03 14:30:45.632 10179 10192 I Corona&nbsp; : /Users/mac/apps/FEI15.1.14-android/boot/up.lua:40: in function 'phaseComplete' 11-03 14:30:45.632 10179 10192 I Corona&nbsp; : /Users/mac/apps/FEI15.1.14-android/boot/phase\_5.lua:20: in function 'onFetched' 11-03 14:30:45.632 10179 10192 I Corona&nbsp; : /Users/mac/apps/FEI15.1.14-android/lib/scamp/network/InfoLoader.lua:84: in function \</Users/mac/apps/FEI15.1.14-android/lib/scamp/network/InfoLoader.lua:59\>

The error comes from line 31 in my adapter class, which is simply:

ga = require('plugin.gameanalytics\_v2') --require("plugin.gameanalytics")

On build, I’m not seeing anything interesting, as you mentioned, bektur.

Here’s what I see:

 

Do you want to proceed with a build? Nov 03 02:27:04.690 Using java version "1.8.0\_131" Java(TM) SE Runtime Environment (build 1.8.0\_131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode) Nov 03 02:27:04.776 Picked up JAVA\_TOOL\_OPTIONS: -Duser.language=en Nov 03 02:27:04.973 Testing credentials for '/Users/mac/apps/f/scripts/keystores/fei\_release.keystore': Nov 03 02:27:05.018 Picked up JAVA\_TOOL\_OPTIONS: -Duser.language=en Nov 03 02:27:06.001 jar signed. Nov 03 02:27:09.463 Using java version "1.8.0\_131" Java(TM) SE Runtime Environment (build 1.8.0\_131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode) Nov 03 02:27:10.252 Building Android app for dev2@studycat.net with 2017.3135 Nov 03 02:27:13.313 Note: debug info is not being stripped from application (settings.build.neverStripDebugInfo = true) Nov 03 02:27:15.608 BUILD SUCCESSFUL Total time: 1 second Nov 03 02:28:00.202 BuildID: 59fc0c48b1102 Nov 03 02:28:29.581 BUILD SUCCESSFUL Total time: 9 seconds Nov 03 02:28:29.581 Nov 03 02:28:30.143 Android build succeeded in 77 seconds

Does any of this make sense? It seems like I might have a bad copy of the plugin, but sometimes it works. Any way to delete/redownload the plugin?

Could you try with the latest daily build 2017.3167?

Hi, Bektur! Thanks for getting back to me so quickly. Yes, just did try it. Same error.

Bump. Hi, yes, I’ve tried rebuilding, and with no luck. Same error. At the moment it is happening the first time I start up after installing, but the second time, the app starts normally without this error. If I reinstall again, via adb, the sme thing happens. 

The device I’m testing on is a Sony Xperia Z5 compact, and it’s running Android 7.1.1.

I’ve also tried building the sample project here: https://github.com/GameAnalytics/GA-SDK-CORONA

same crash. Help!

Thanks! 

Hey guys, could you post your build.settings file please?

@Studycat2 by the way the sample at the link is for Native build. There is no plugin entry in the build.settings file.  

@bektur Hi! No problem. I’ll try the plugin with the same build.settings file that I use with my app. Here’s the file:

settings = { &nbsp; build = &nbsp; { &nbsp; &nbsp; neverStripDebugInfo = true &nbsp; }, &nbsp; plugins = &nbsp; { &nbsp; &nbsp; ["plugin.reviewPopUp"] = {publisherId = "tech.scotth"}, &nbsp; &nbsp; ["plugin.iCloud"] = { publisherId = "com.coronalabs",supportedPlatforms = { iphone=true, osx=true, appletvos=true }}, &nbsp; &nbsp; ["plugin.notifications"]&nbsp; &nbsp; &nbsp; &nbsp; = { publisherId = "com.coronalabs" }, &nbsp; &nbsp; ["plugin.advertisingId"]&nbsp; &nbsp; &nbsp; &nbsp; = { publisherId = "com.coronalabs" }, -- Apple only &nbsp; &nbsp; --["plugin.gameanalytics"]&nbsp; &nbsp; &nbsp; &nbsp; = { publisherId = "com.gameanalytics" }, &nbsp; &nbsp; ["plugin.gameanalytics\_v2"]&nbsp; &nbsp; &nbsp;= { publisherId = "com.gameanalytics", supportedPlatforms = { iphone=true, android=true }}, &nbsp; &nbsp; ["plugin.chartboost"]&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= { publisherId = "com.swipeware" }, &nbsp; &nbsp; ["plugin.google.iap.v3"]&nbsp; &nbsp; &nbsp; &nbsp; = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } }, &nbsp; &nbsp; ["plugin.amazon.iap"]&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= { publisherId = "com.coronalabs", supportedPlatforms={ ["android-kindle"]=true} }, &nbsp; &nbsp; ["plugin.CoronaSplashControl"]&nbsp; = { publisherId = "com.coronalabs" }, &nbsp; &nbsp; ["plugin.zip"]&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = { publisherId = "com.coronalabs" }, &nbsp; }, &nbsp; splashScreen = { enable = false }, orientation = { default = "landscapeRight", &nbsp; &nbsp; &nbsp; supported = {"landscapeRight", "landscapeLeft"} -- "portrait", "portraitUpsideDown"} }, iphone = { &nbsp; &nbsp; xcassets = "Images.xcassets", plist =&nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ITSAppUsesNonExemptEncryption = false, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSMicrophoneUsageDescription = 'This app features voice recording games.', &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSPhotoLibraryUsageDescription = "Not used in this app", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSCameraUsageDescription = "Not used in this app", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSAppTransportSecurity = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSExceptionDomains = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -- DK toolbox&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ["sp-cert.tbxnet.com"] = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSIncludesSubdomains = true, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSThirdPartyExceptionAllowsInsecureHTTPLoads = true &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ["sp.tbxnet.com/v2"] = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSIncludesSubdomains = true, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSThirdPartyExceptionAllowsInsecureHTTPLoads = true &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ["unity.tbxapis.com"] = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSIncludesSubdomains = true, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSThirdPartyExceptionAllowsInsecureHTTPLoads = true &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ["unity-cert.tbxapis.com"] = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSIncludesSubdomains = true, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSThirdPartyExceptionAllowsInsecureHTTPLoads = true &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --GEO IP DOMAINS TO ALLOW &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ["freegeoip.net"] = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSIncludesSubdomains = true, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSThirdPartyExceptionAllowsInsecureHTTPLoads = true &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-- for webViewSocket on ios 9 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;["localhost"] = { NSExceptionAllowsInsecureHTTPLoads = true, NSIncludesSubdomains = true, NSThirdPartyExceptionAllowsInsecureHTTPLoads = true }, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;["key.i-learn.vn"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionAllowsInsecureHTTPLoads = true }, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-- ["studycat.cn"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionAllowsInsecureHTTPLoads = true }, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-- ["members.studycat.cn"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionAllowsInsecureHTTPLoads = true }, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;["api.studycat.net"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionAllowsInsecureHTTPLoads = true }, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;["info.studycat.net"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionAllowsInsecureHTTPLoads = true }, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;["myip.dnsomatic.com"] = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSIncludesSubdomains = true, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSThirdPartyExceptionAllowsInsecureHTTPLoads = true &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;["telize.com"] = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSIncludesSubdomains = true, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSThirdPartyExceptionAllowsInsecureHTTPLoads = true &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;["ipinfo.io"] = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSIncludesSubdomains = true, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSThirdPartyExceptionAllowsInsecureHTTPLoads = true &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;["volume.itunes.apple.com"] = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSIncludesSubdomains = true, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSThirdPartyExceptionAllowsInsecureHTTPLoads = true &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;["apps.studycat.net"] = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSIncludesSubdomains = true, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSThirdPartyExceptionAllowsInsecureHTTPLoads = true &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;["api.gameanalytics.com"] = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSIncludesSubdomains = true, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSThirdPartyExceptionAllowsInsecureHTTPLoads = true &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;["apple.com"] = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSIncludesSubdomains = true, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSThirdPartyExceptionAllowsInsecureHTTPLoads = true &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;["catlard.com"] = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSIncludesSubdomains = true, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSThirdPartyExceptionAllowsInsecureHTTPLoads = true &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;["coronalabs.com"] = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSIncludesSubdomains = true, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSThirdPartyExceptionAllowsInsecureHTTPLoads = true &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UIStatusBarHidden = true,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UIApplicationExitsOnSuspend = false, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UIPrerenderedIcon = true, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CFBundleIdentifier = "net.studycat.scamp", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CFBundleDisplayName = "SCAMP", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CFBundleVersion = "1", -- use date &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CFBundleShortVersionString = "1.0", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UILaunchStoryboardName = "LaunchScreen", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CFBundleLocalizations =&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "en", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "gb", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "fr", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "de", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "it", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "es", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "pt", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "ja", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "zh-Hans", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "zh-Hant", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --"ar", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "da", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "nl", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "fi", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "ko", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "nb", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "ru", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "sv", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "tr", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "vi", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }, } }, &nbsp; android = &nbsp; { &nbsp; &nbsp; &nbsp; largeHeap = true,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-- only takes effect on android 3.0 and above. &nbsp; &nbsp; &nbsp; usesExpansionFile = false,&nbsp; -- overwritten by build script &nbsp; &nbsp; &nbsp; -- versionCode = 3,&nbsp; TODO: this should be manipulated by build script. &nbsp; &nbsp; &nbsp; usesPermissions = { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"com.android.vending.BILLING", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"android.permission.INTERNET", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"com.android.vending.CHECK\_LICENSE", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"android.permission.WRITE\_EXTERNAL\_STORAGE", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"android.permission.RECORD\_AUDIO", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"android.permission.ACCESS\_NETWORK\_STATE" &nbsp; &nbsp; &nbsp; }, &nbsp; }, &nbsp; window =&nbsp; &nbsp; { &nbsp; &nbsp; titleText = { &nbsp; &nbsp; &nbsp; &nbsp; default = "Fun Engilsh", &nbsp; &nbsp; &nbsp; &nbsp; suspendWhenMinimized = true, &nbsp; &nbsp; &nbsp; &nbsp; defaultMode = "fullscreen", &nbsp; &nbsp; }, &nbsp; } }

@bektur When I try to build with the sample project with this build.settings file, I get the same error. So either there is something wrong with my build.settings file, or there is something wrong with the plugin?

Try to remove 

[lua]supportedPlatforms = { iphone=true, android=true }[/lua]

and build again.

I also had an issue with Gameanalytics plugin this week. It required me the GPGS plugin to build for iOS. It’s not in the documentation

@bektur Thanks for the idea, but no luck. I changed the plugin requirement line to:

    [“plugin.gameanalytics_v2”]     = { publisherId = “com.gameanalytics”},

but I get the same crash.

@Imgualandi Do you mean that you need the permissions on android? Or the GPS plugin? I’ve tried having the permissions:

android.permission.ACCESS_COARSE_LOCATION or android.permission.ACCESS_FINE_LOCATION.

and I get the same crash.

Unfortunately the GPS fix is not a good solution for me, as our app is for children, and we can’t have extra permissions like that without good reason. Thanks, though!

S

I’m talking about the Google Play Game Services plugin.
It wouldn’t build. I forgot what was the error message, but it said they were unable to download the GA plugin. I tried adding the gpgs plugin after reading the thread below and it worked.

https://forums.coronalabs.com/topic/69924-gameanalytics-vs-runtime-error-not-found/?hl=gameanalytics

I was able to build the same app about a month ago without the gpgs plugin, though

@Imgualandi Thanks for the information – I tried building with the GPGS plugin but had the same result – I tried only starting Analytics after the eventListener for that plugin returned positive. And I’m not worried about iOS, just android at the moment. 

@Studycat2

Execute the following command in the Mac terminal

[lua]defaults write com.coronalabs.Corona_Simulator debugBuildProcess -integer 3[/lua]

then try to build and post your full console log.

@bektur Hi! Here’s the log. I’m trying it on device as we speak. Thanks for the suggestion! I’ll let you know shortly if it works.

S

/Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:906: module ‘plugin.gameanalytics_v2’ not found:resource (plugin.gameanalytics_v2.lu) does not exist in archive

Same same. Though perhaps that terminal command was just meant to give you the whole log.

Yes, it is extended log with debug info. It wasn’t meant to fix the problem.

By the way you don’t need to include

["plugin.CoronaSplashControl"]&nbsp; = { publisherId = "com.coronalabs" },

into your build.settings. It shouldn’t reflect but I would remove it.

Thanks, I’ll remove it!

My co-worker is reporting the same kind of plugin error with Google Analytics IAP plugin v3 – can’t find the resource. With the same build.settings file. Obviously I don’t know what everything in the log means, but perhaps there’s something going on with the zip locaiton?

                        [unzip] expanding fabric/com.gameanalytics.sdk.gameanalytics-android.properties to /var/folders/3t/hscpx_3n5p9043078q5qrcbw0000gn/T/CLtmpqMBL8E/output/fabric/com.gameanalytics.sdk.gameanalytics-android.properties

                        [unzip] expanding lib/armeabi-v7a/libanalytics.so to /var/folders/3t/hscpx_3n5p9043078q5qrcbw0000gn/T/CLtmpqMBL8E/output/lib/armeabi-v7a/libanalytics.so

                          [zip] adding entry fabric/com.gameanalytics.sdk.gameanalytics-android.properties

                          [zip] adding entry lib/armeabi-v7a/libanalytics.so

Is there any way to delete the plugin files where they’re being cached? Maybe my plugin directory is corrupted somehow.