You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a brand new Ionic project and went through the typical process of adding Android to the project. I already have the Android SDK installed at the following path: C:\Program Files (x86)\Android\android-sdk
The ANDROID_SDK_HOME environment variable has been set to the above-mentioned path.
Screenshots from the Android SDK manager showing things are installed:
Command Output:
> npx cap run android -- --verbose --sdk-info
√ Copying web assets from dist to android\app\src\main\assets\public in 25.69ms
√ Creating capacitor.config.json in android\app\src\main\assets in 1.38ms
\ copy android [info] Inlining sourcemaps
√ copy android in 59.52ms
√ Updating Android plugins in 3.75ms
[info] Found 4 Capacitor plugins for android:
@capacitor/[email protected]
@capacitor/[email protected]
@capacitor/[email protected]
@capacitor/[email protected]
√ update android in 43.58ms
[error] native-run failed with error
ERR_SDK_PACKAGE_NOT_FOUND: SDK package not found by location: C:\Program Files
(x86)\Android\android-sdk\platform-tools.
More details for this error may be available online:
https://github.com/ionic-team/native-run/wiki/Android-Errors
Version:
2.0.1
Description:
I created a brand new Ionic project and went through the typical process of adding Android to the project. I already have the Android SDK installed at the following path: C:\Program Files (x86)\Android\android-sdk
The ANDROID_SDK_HOME environment variable has been set to the above-mentioned path.
Screenshots from the Android SDK manager showing things are installed:
Command Output:
SDK Info:
The text was updated successfully, but these errors were encountered: