ionic-team / ionic-team/native-run

tools not found?

Open
#395 0 comments 0 reactions 0 assignees View on GitHub
android
Dominant language
TypeScript
Stars
137
Forks
28
PR merge metrics
No merged PRs in 30d

Description

**Version:**

```
$ native-run --version
1.7.2
```

**Description:**

failed without error message. sdk-info (below) shows no tools. maybe related to my setup?

```
$ JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64/ ~/pkg/android-sdk/cmdline-tools/bin/sdkmanager --list_installed --sdk_root=$ANDROID_HOME
[=======================================] 100% Fetch remote repository...
Installed packages:
Path | Version | Description | Location
------- | ------- | ------- | -------
build-tools;34.0.0 | 34.0.0 | Android SDK Build-Tools 34 | build-tools/34.0.0
platform-tools | 34.0.5 | Android SDK Platform-Tools 34.0.5 | platform-tools
platforms;android-34 | 3 | Android SDK Platform 34 | platforms/android-34
```

**Command Output:**

```
$ npx cap run android --verbose
✔ Copying web assets from dist to android/app/src/main/assets/public in 3.01ms
✔ Creating capacitor.config.json in android/app/src/main/assets in 670.21μs
[info] Inlining sourcemaps
✔ copy android in 9.23ms
✔ Updating Android plugins in 723.91μs
[info] Found 2 Capacitor plugins for android:
@capacitor/camera@6.1.2
@capacitor/splash-screen@6.0.3
✔ update android in 17.73ms
[error] native-run failed with error



More details for this error may be available online:
https://github.com/ionic-team/native-run/wiki/Android-Errors

```

**SDK Info:**

```
$ native-run android --sdk-info
SDK Location: /home/jayen/pkg/android-sdk
AVD Home: /home/jayen/.android/avd

Tools:
```

```
$ JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64/ native-run android --sdk-info
SDK Location: /home/jayen/pkg/android-sdk
AVD Home: /home/jayen/.android/avd

Tools:

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.