You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/04/30 13:17:12 UTC

[GitHub] [cordova-android] BDAinc opened a new issue #723: Android emulator not worked

BDAinc opened a new issue #723: Android emulator not  worked
URL: https://github.com/apache/cordova-android/issues/723
 
 
   I install android emulator in android studio
   
   I run command cordova -d emulate android
   
   But see error
   
   ```
   /media/anonim/01D4C6F2C6169120/PROJECTS/PLANSTER/PRODUCTIONS/MOBILE/project/platforms/android/app/build/outputs/apk/debug/app-debug.apk
   No scripts found for hook "before_deploy".
   Checking Java JDK and Android SDK versions
   ANDROID_SDK_ROOT=undefined (recommended setting)
   ANDROID_HOME=/usr/lib/android-sdk (DEPRECATED)
   Running command: adb devices
   Command finished with error code 0: adb devices
   Could not find either `android` or `avdmanager` on your $PATH! Are you sure the Android SDK is installed and available?
   CordovaError: Could not find either `android` or `avdmanager` on your $PATH! Are you sure the Android SDK is installed and available?
       at /media/anonim/01D4C6F2C6169120/PROJECTS/PLANSTER/PRODUCTIONS/MOBILE/Planster31/platforms/android/cordova/lib/emulator.js:176:35
       at <anonymous>
       at process._tickCallback (internal/process/next_tick.js:188:7)
   ```
   
   in my .bashrc I add next string
   
   ```
   export ANDROID_SDK=/home/anonim/Android/Sdk:@PATH
   export PATH=/opt/gradle/gradle-5.4/bin:$PATH
   ```
   
   but this is not solution
   
   How solve problem?
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org