Bug Issue: Android Build Error (b10300)


Pages: 1

ericar1996

  • Subscriber - Stencyl Studio
  • *
June 19, 2019, 07:11:45 pm
Hello!

I have a problem compiling a game for Android. Here are some lines from the Log Viewer:

Code: [Select]
Level:     INFO
When:      2019-06-19 18:53:41:403
From:      stencyl.sw.util.StreamGobbler
[haxelib.exe] > Task :deps:purchases:compileReleaseAidl FAILED

Level:     INFO
When:      2019-06-19 18:53:41:403
From:      stencyl.sw.util.StreamGobbler
[haxelib.exe] Task ':deps:purchases:compileReleaseAidl' is not up-to-date because: No history is available.

Level:     INFO
When:      2019-06-19 18:53:41:403
From:      stencyl.sw.util.StreamGobbler
[haxelib.exe] All input files are considered out-of-date for incremental task ':deps:purchases:compileReleaseAidl'.

Level:     INFO
When:      2019-06-19 18:53:41:403
From:      stencyl.sw.util.StreamGobbler
[haxelib.exe] :deps:purchases:compileReleaseAidl (Thread[Task worker for ':',5,main]) completed. Took 1.854 secs.

Level:     ERROR
When:      2019-06-19 18:53:41:403
From:      stencyl.sw.util.dg.MessageDialog
Encountered errors while building your game.: Check your logs and post them to the forums.  - Please describe what you have been doing. Be as specific as possible.

Level:     ERROR
When:      2019-06-19 18:53:50:673
From:      stencyl.sw.util.StreamGobbler
[haxelib.exe] FAILURE: Build failed with an exception.

Level:     INFO
When:      2019-06-19 18:53:50:689
From:      stencyl.sw.util.StreamGobbler
[haxelib.exe] * What went wrong:

Level:     INFO
When:      2019-06-19 18:53:50:689
From:      stencyl.sw.util.StreamGobbler
[haxelib.exe] Execution failed for task ':deps:purchases:compileReleaseAidl'.

Level:     INFO
When:      2019-06-19 18:53:50:689
From:      stencyl.sw.util.StreamGobbler
[haxelib.exe] > java.lang.RuntimeException: com.android.ide.common.process.ProcessException: Error while executing process D:\Android\Stencyl\stencylworks\android-sdk\android-sdk-windows\build-tools\29.0.0\aidl.exe with arguments {-pD:\Android\Stencyl\stencylworks\android-sdk\android-sdk-windows\platforms\android-28\framework.aidl -oD:\Android\Stencyl\stencylworks\android-builds\app\purchases\generated\source\aidl\release -ID:\Android\Stencyl\stencylworks\games-generated\app\Export\android\bin\deps\purchases\src -ID:\Android\Stencyl\stencylworks\games-generated\app\Export\android\bin\deps\purchases\src\release\aidl -ID:\Android\Stencyl\stencylworks\android-builds\app\extension-api\intermediates\bundles\default\aidl -dC:\Windows\Temp\aidl3019344044011093194.d D:\Android\Stencyl\stencylworks\games-generated\app\Export\android\bin\deps\purchases\src\com\android\vending\billing\IInAppBillingService.aidl}

Thanks for help!
« Last Edit: June 27, 2019, 05:14:21 pm by Justin »


New attachment added by ericar1996 - June 19, 2019, 07:13:47 pm


New attachment added by ericar1996 - June 19, 2019, 07:13:54 pm


Justin

  • Master Stencyler
  • *
June 19, 2019, 08:24:24 pm
A few people have run into this recently, seems like it started when Google released build-tools 29. Try using build-tools 28.

File > Preferences > Tools

Go to the folder pointed to by "Android SDK". Then open the "build-tools" folder inside that, and delete build-tools 29.

Back on the Tools page, click "Download Android Tools", and uncheck everything but build-tools, which should be set to one of the "28" versions.  Download that and try again.


ericar1996

  • Subscriber - Stencyl Studio
  • *
June 19, 2019, 08:38:47 pm
Resolved. Thank you very much!


Justin

  • Master Stencyler
  • *
June 27, 2019, 05:14:06 pm
In the latest version of Stencyl, I've further limited which android tools are available for download, so that you can't pick out tools that Stencyl doesn't expect.
  • Status changed from New to Resolved
  • Issue Assigned from (none) to Justin


Pages: 1

Details

  • Reported
    June 19, 2019, 07:11:45 pm
  • Updated
    June 27, 2019, 05:14:06 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    Resolved
  • Priority
    Normal
  • Version
    (none)
  • Fixed in
    (none)
  • Assigned to
    Justin
  • Category
    Compiling/Testing Games

Tags


Attachments

* log-2019-06-19(2).zip (130.61 kB - downloaded 23 times.)
* log-2019-06-19.zip (130.08 kB - downloaded 20 times.)