Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

windows android SDK path problem #50

Closed
vulkanosaure opened this issue Feb 7, 2021 · 2 comments
Closed

windows android SDK path problem #50

vulkanosaure opened this issue Feb 7, 2021 · 2 comments

Comments

@vulkanosaure
Copy link

vulkanosaure commented Feb 7, 2021

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

@vulkanosaure
Copy link
Author

vulkanosaure commented Feb 7, 2021

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
Copy link
Contributor

Glad to hear you found a solution.

Regarding the structure, that looks correct!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants