distriqt / ANE-CustomResources

Android Custom Resources for AIR Applications
https://airnativeextensions.com
15 stars 4 forks source link

Build Failed - android SDK folder used wrong. #47

Closed leossmith closed 11 months ago

leossmith commented 4 years ago

When I try to build for android, I get the following error:

[exec] * What went wrong: [exec] A problem occurred configuring project ':app'. [exec] > The SDK directory 'E:\Development\2_ANE\ANE-CustomResources-master\platform\android\E:Androidsdk' does not exist.

It looks like the path of my android sdk is used wrong.

This is from my build.config:

air.sdk = E:\\Development\\SDKs\\4161_33
android.sdk = E:\\Android\\sdk

Any ideas?

pitanello commented 4 years ago

I have the same problem here, did you figure it out how to fix it?

marchbold commented 4 years ago

You might have to modify the script to correctly pass the Windows path. Seems to be picking it up as a relative path on your system.

pitanello commented 4 years ago

thank you @marchbold , problem finally solved. Info for who will have the same issue in Windows.

in build.xml: `

` **Change this:** ` ` **With this:** ` `