0
Mac 용 전체 시작 설명서 (https://docs.nativescript.org/tutorial/chapter-1)를 따랐습니다.Nativescript 오류 : tns run android - "호환되는 Android SDK를 찾을 수 없습니다."
이제 샘플 앱을 실행하려고합니다. IOS는 잘 작동합니다! 하지만 안드로이드가 작동하지 않습니다 : USB 장치가 아니라 Genymotion.
android update sdk --filter tools,platform-tools,android-23,build-tools-23.0.3,extra-android-m2repository,extra-google-m2repository,extra-android-support --all --no-ui
어떻게 해결할 수 있습니다 : 여기
에 입력 한 후 오류 :이 자습서에 기록 된대로 , 나는 안드로이드 SDK (23)를 설치 한
Executing before-prepare hook from /Users/Username/Documents/Development/sample-Groceries/hooks/before-prepare/nativescript-dev-typescript.js
Found peer TypeScript 1.8.10
Processing node_modules failed. Exception: Cannot find a compatible Android SDK for compilation. To be able to build for Android, install Android SDK 22 or later.
"TNS는 안드로이드 실행" 그것? 나는 모든 것을 시도했다 ...
고마워!
TNS 의사는 모든 것이 괜찮 말한다 :
그것은 (예를 조각) 경로의 도구를하는 것도 좋다 : 여기 예를 들어 광산이다. 나는 이제 패치 된 버전으로 모든 것을 다시했고, 새로운 문제가 있지만 같은 시점에. Github에 관한 문제를 열었습니다. Repo에 문제가 있다고 생각하기 때문입니다. 제안이 있으면 거기에 대답 할 수 있습니다. https://github.com/NativeScript/sample-Groceries/issues/151 – Taremeh