Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

cannot build apk for android while using google analytics plugin
Started by umarmukhtar5291219 Mar 20 2020 06:16 AM

No replies to this topic
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Observer

  • 1 posts
  • Corona SDK

I am trying to build my game for android, I have integrated google anlaytics plugin which I activated from my developer account and  followed all the steps from Corona's documentation page. Everything looks fine but build always fails on my system, I tried building from other machine and it builds fine. I have no idea where have I gone wrong. My machine is lacking some important software.

here is the console log:



Copyright © 2009-2019  C o r o n a   L a b s   I n c .
Version: 3.0.0
Build: 2019.3564
Platform: GenericAndroidDevice / x64 / 10.0 / Intel® HD Graphics 4400 / 4.3.0 - Build / 2019.3564 / en_IN | IN | en_IN | en
Loading project from:   C:\Users\Dell\Desktop\ballblastgame
Project sandbox folder: C:\Users\Dell\AppData\Local\Corona Labs\Corona Simulator\Sandbox\ballblastgame-5C00F017AD66AFAF52B28EF18CF6CF0D\Documents
WARNING: The 'plugin.googleAnalytics' library is not available on this platform.
main: launch count is 14
app 42: cv set 2
Testing credentials for 'C:\Program Files (x86)\Corona Labs\Corona\Resources\debug.keystore': 
Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
jar signed.
The signer's certificate is self-signed.
The timestamp will expire on 2030-10-17.
Using custom build id from app bundle: 00000 (AppSettings.lua)
Using custom Build Id 00000
@ver > NUL
Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
Exception in thread "DisconnectableInputStream source reader" org.gradle.api.UncheckedIOException: java.io.IOException: Access is denied
at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:61)
at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:41)
at org.gradle.util.DisconnectableInputStream$1.run(DisconnectableInputStream.java:125)
at java.base/java.lang.Thread.run(Thread.java:830)
Caused by: java.io.IOException: Access is denied
at java.base/java.io.FileInputStream.readBytes(Native Method)
at java.base/java.io.FileInputStream.read(FileInputStream.java:273)
at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:245)
at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:285)
at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:344)
at org.gradle.util.DisconnectableInputStream$1.run(DisconnectableInputStream.java:96)
... 1 more
ERROR: configuring 'shared.google.play.services.analytics_com.coronalabs' failed!
FAILURE: Build failed with an exception.


Also tagged with one or more of these keywords: android