distriqt/ANE-CustomResources

windows android SDK path problem

vulkanosaure opened this issue · 2 comments

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 :

  • it is taking my android.sdk variable and appending it like a relative path to {android.dir}
  • it removes my backslashes (which i have doubled as specified)

OS : Windows 10
ANT 1.9.15
jre 1.8

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

Glad to hear you found a solution.

Regarding the structure, that looks correct!