Title: WARNING: The Android SDK is not installed or is not configured properly. · Issue #4265 · NativeScript/nativescript-cli · GitHub
Open Graph Title: WARNING: The Android SDK is not installed or is not configured properly. · Issue #4265 · NativeScript/nativescript-cli
X Title: WARNING: The Android SDK is not installed or is not configured properly. · Issue #4265 · NativeScript/nativescript-cli
Description: I followed all instructions in this official page NativeScript Advanced Setup: Linux. I only got stuck at this step: sudo apt-get install lib32z1 lib32ncurses5 libbz2-1.0:i386 libstdc++6:i386 for which I had to first run: sudo dpkg --add...
Open Graph Description: I followed all instructions in this official page NativeScript Advanced Setup: Linux. I only got stuck at this step: sudo apt-get install lib32z1 lib32ncurses5 libbz2-1.0:i386 libstdc++6:i386 for w...
X Description: I followed all instructions in this official page NativeScript Advanced Setup: Linux. I only got stuck at this step: sudo apt-get install lib32z1 lib32ncurses5 libbz2-1.0:i386 libstdc++6:i386 for w...
Opengraph URL: https://github.com/NativeScript/nativescript-cli/issues/4265
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":" WARNING: The Android SDK is not installed or is not configured properly. ","articleBody":"I followed all instructions in this official page [NativeScript Advanced Setup: Linux](https://docs.nativescript.org/start/ns-setup-linux).\r\n\r\nI only got stuck at this step:\r\n```\r\nsudo apt-get install lib32z1 lib32ncurses5 libbz2-1.0:i386 libstdc++6:i386\r\n```\r\nfor which I had to first run:\r\n```\r\nsudo dpkg --add-architecture i386\r\n```\r\nRegarding emulators, I chose genymotion. (did not install `avd`)\r\n\r\nNow, after installing everything, here are all relevant environment settings/info I could get:\r\n\r\n```\r\n$ lsb_release -a\r\nDistributor ID:\tUbuntu\r\nDescription:\tUbuntu 18.04.1 LTS\r\nRelease:\t18.04\r\nCodename:\tbionic\r\n\r\n$ node -v\r\nv8.10.0\r\n\r\n$ javac -version\r\njavac 1.8.0_191\r\n\r\n# installed latest android packages for Android 28\r\n$ sudo $ANDROID_HOME/tools/bin/sdkmanager \"tools\" \"emulator\" \"platform-tools\" \"platforms;android-28\" \"build-tools;28.0.3\" \"extras;android;m2repository\" \"extras;google;m2repository\"\r\n\r\n$ ls /opt/android-sdk\r\nbuild-tools emulator extras licenses patcher platform-tools platforms tools\r\n\r\n$ echo $PATH\r\n/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\r\n\r\n$ adb version\r\nAndroid Debug Bridge version 1.0.40\r\nVersion 4986621\r\nInstalled as /opt/android-sdk/platform-tools/adb\r\n\r\n$ tns --version\r\n5.1.0\r\n\r\n$ node\r\n\u003e process.env.ANDROID_HOME\r\n`/opt/android-sdk`\r\n\u003e process.env.JAVA_HOME\r\n'/usr/lib/jvm/java-8-oracle'\r\n\r\n$ echo $ANDROID_HOME\r\n/opt/android-sdk\r\n\r\n$ echo $JAVA_HOME\r\n/usr/lib/jvm/java-8-oracle\r\n```\r\n\r\nNow I finally check `tns doctor`...\r\n\r\n```\r\nThere seem to be issues with your configuration.\r\n✔ Getting NativeScript components versions information...\r\n✔ Component nativescript has 5.1.0 version and is up to date.\r\n✔ Your ANDROID_HOME environment variable is set and points to correct directory.\r\n✔ Your adb from the Android SDK is correctly installed.\r\n✔ A compatible Android SDK for compilation is found.\r\n✔ Javac is installed and is configured properly.\r\n✔ The Java Development Kit (JDK) is installed and is configured properly.\r\n✔ Local builds for iOS can be executed only on a macOS system. To build for iOS on a different operating system, you can use the NativeScript cloud infrastructure.\r\n✖ WARNING: The Android SDK is not installed or is not configured properly. \r\n You will not be able to run your apps in the native emulator. To be able to run apps\r\nin the native Android emulator, verify that you have installed the latest Android SDK \r\nand its dependencies as described in http://developer.android.com/sdk/index.html#Requirements \r\n```\r\n\r\nAs you can see, `tns doctor` says everything is fine... but not really.\r\nPrecisely, I don't get the \r\n\r\n\"✔ A compatible Android SDK for compilation is found.\"\r\n\r\nVs\r\n\r\n\"✖ WARNING: The Android SDK is not installed or is not configured properly.\"\r\n\r\nIs that even possible ?\r\nAny idea of any further investigations I should do ?\r\n\r\n**P.S: please, this is not the same problem as #3585 where `adb` is clearly in cause... #3585 title should be : \"WARNING: adb from the Android SDK is not installed or is not configured properly.\" which is quite different**","author":{"url":"https://github.com/Jonarod","@type":"Person","name":"Jonarod"},"datePublished":"2019-01-06T22:43:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/4265/nativescript-cli/issues/4265"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:035b55cb-adcb-5015-9f2b-05d860ed720f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EE34:BE940:49333DC:6213A9C:696DF8A5 |
| html-safe-nonce | 9237946a2846c90049e09158c0f7be3cc893888601d14a68c352992224ee6322 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRTM0OkJFOTQwOjQ5MzMzREM6NjIxM0E5Qzo2OTZERjhBNSIsInZpc2l0b3JfaWQiOiI3MTU4NTEyODE5Njg1NDIzMjY5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c3ca9b2538079fa6fa361a3b32e32c2095dc3683a8063a695b6ce3733758f55e |
| hovercard-subject-tag | issue:396302479 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/nativescript-cli/4265/issue_layout |
| twitter:image | https://opengraph.githubassets.com/288d2a6dcb2a0aee4fa27888cac1a49d4cfdf2909139546bf2acb56e29eb5bee/NativeScript/nativescript-cli/issues/4265 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/288d2a6dcb2a0aee4fa27888cac1a49d4cfdf2909139546bf2acb56e29eb5bee/NativeScript/nativescript-cli/issues/4265 |
| og:image:alt | I followed all instructions in this official page NativeScript Advanced Setup: Linux. I only got stuck at this step: sudo apt-get install lib32z1 lib32ncurses5 libbz2-1.0:i386 libstdc++6:i386 for w... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Jonarod |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064 |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 21347346 |
| octolytics-dimension-repository_nwo | NativeScript/nativescript-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21347346 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/nativescript-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7e5ae23c70136152637ceee8d6faceb35596ec46 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width