distriqt / ANE-CustomResources

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

windows android SDK path problem #50

Closed vulkanosaure closed 11 months ago

vulkanosaure commented 3 years ago

with build.config

# AIR SDK
air.sdk = D:\\SDK\\air-33

# ANDROID
android.sdk = C:\\Users\\ASUS\\AppData\\Local\\Android\\Sdk

I have the following error :

The SDK directory 'C:\sdk\custom-res\platform\android\C:UsersASUSAppDataLocalAndroidSdk' does not exist

there seems to be 2 problems :


OS : Windows 10 ANT 1.9.15 jre 1.8

vulkanosaure commented 3 years ago

for information, i worked around it by copying my android sdk in a subfolder of {android.dir} so it's not blocking me anymore.

Quick related question : if i want to put both icons and values.xml in the custom-ane, the structure of my res/ folder should be

res/ 
-- drawable-hdpi/
-- drawable-mdpi/
-- ...
-- values/
---- values.xml
marchbold commented 3 years ago

Glad to hear you found a solution.

Regarding the structure, that looks correct!