espace Posted October 14, 2018 Share Posted October 14, 2018 hi, i follow entierely this tutorial : https://codeburst.io/configuring-cordova-for-android-development-on-linux-6ee4a28cd432 and when i type sudo cordova requirements in my app, i have this : Android Studio project detected Requirements check results for android: Java JDK: installed 1.8.0 Android SDK: installed true Android target: not installed android: Command failed with exit code ENOENT Gradle: installed /usr/share/gradle/bin/gradle Some of requirements check failed i search a lot about "Android target : not installed" and try all the solutions but never works ! my path is well good : export JAVA_HOME="/usr/local/java/jdk1.8.0_181" PATH=$PATH:$JAVA_HOME/bin export ANDROID_HOME="$HOME/Android/Sdk" PATH=$PATH:$ANDROID_HOME/tools PATH=$PATH:$ANDROID_HOME/platform_tools export PATH=/usr/bin/oz:$PATH i accept all the licences and when i attempt to build i have this : * What went wrong: A problem occurred evaluating project ':CordovaLib'. > No installed build tools found. Install the Android build tools version 19.1.0 or higher. however i have install the build tools with this command and without errors : ~/Android/Sdk/tools/bin/sdkmanager "build-tools;19.0.1" how do you do to fix that ? i hope there will be a person here who works with cordova and ubuntu ... Quote Link to comment Share on other sites More sharing options...
Milton Posted October 14, 2018 Share Posted October 14, 2018 What does 'which android' return? And 'find $ANDROID_HOME -name android' ? Quote Link to comment Share on other sites More sharing options...
espace Posted October 14, 2018 Author Share Posted October 14, 2018 hi, the first command return: /home/syst/Android/Sdk/tools/android and the second : /home/syst/Android/Sdk/extras/google/m2repository/com/google/android /home/syst/Android/Sdk/extras/android /home/syst/Android/Sdk/extras/android/m2repository/com/android /home/syst/Android/Sdk/platform-tools/systrace/catapult/devil/devil/android /home/syst/Android/Sdk/tools/android /home/syst/Android/Sdk/sources/android-25/com/android /home/syst/Android/Sdk/sources/android-25/android /home/syst/Android/Sdk/sources/android-27/com/android /home/syst/Android/Sdk/sources/android-27/com/android/layoutlib/bridge/android /home/syst/Android/Sdk/sources/android-27/android /home/syst/Android/Sdk/sources/android-23/com/example/android /home/syst/Android/Sdk/sources/android-23/com/android /home/syst/Android/Sdk/sources/android-23/com/android/layoutlib/bridge/android /home/syst/Android/Sdk/sources/android-23/android /home/syst/Android/Sdk/sources/android-28/com/example/android /home/syst/Android/Sdk/sources/android-28/com/android /home/syst/Android/Sdk/sources/android-28/com/android/layoutlib/bridge/android /home/syst/Android/Sdk/sources/android-28/android /home/syst/Android/Sdk/sources/android-20/com/example/android /home/syst/Android/Sdk/sources/android-20/com/android /home/syst/Android/Sdk/sources/android-20/com/android/layoutlib/bridge/android /home/syst/Android/Sdk/sources/android-20/android /home/syst/Android/Sdk/sources/android-22/com/example/android /home/syst/Android/Sdk/sources/android-22/com/android /home/syst/Android/Sdk/sources/android-22/com/android/layoutlib/bridge/android /home/syst/Android/Sdk/sources/android-22/android /home/syst/Android/Sdk/sources/android-24/com/example/android /home/syst/Android/Sdk/sources/android-24/com/android /home/syst/Android/Sdk/sources/android-24/android /home/syst/Android/Sdk/sources/android-19/com/example/android /home/syst/Android/Sdk/sources/android-19/com/android /home/syst/Android/Sdk/sources/android-19/com/android/layoutlib/bridge/android /home/syst/Android/Sdk/sources/android-19/android /home/syst/Android/Sdk/sources/android-21/com/example/android /home/syst/Android/Sdk/sources/android-21/com/android /home/syst/Android/Sdk/sources/android-21/com/android/layoutlib/bridge/android /home/syst/Android/Sdk/sources/android-21/android /home/syst/Android/Sdk/sources/android-26/com/android /home/syst/Android/Sdk/sources/android-26/android Quote Link to comment Share on other sites More sharing options...
Milton Posted October 14, 2018 Share Posted October 14, 2018 Hmm, looks ok. What about '$ANDROID_HOME/tools/bin/sdkmanager --list' ? Quote Link to comment Share on other sites More sharing options...
espace Posted October 14, 2018 Author Share Posted October 14, 2018 woow it's long Installed packages:=====================] 100% Computing updates... Path | Version | Description | Location ------- | ------- | ------- | ------- build-tools;19.1.0 | 19.1.0 | Android SDK Build-Tools 19.1 | build-tools/19.1.0/ build-tools;20.0.0 | 20.0.0 | Android SDK Build-Tools 20 | build-tools/20.0.0/ build-tools;26.0.2 | 26.0.2 | Android SDK Build-Tools 26.0.2 | build-tools/26.0.2/ build-tools;28.0.3 | 28.0.3 | Android SDK Build-Tools 28.0.3 | build-tools/28.0.3/ emulator | 27.3.10 | Android Emulator | emulator/ extras;android;m2repository | 47.0.0 | Android Support Repository | extras/android/m2repository/ extras;google;m2repository | 58 | Google Repository | extras/google/m2repository/ patcher;v4 | 1 | SDK Patch Applier v4 | patcher/v4/ platform-tools | 28.0.1 | Android SDK Platform-Tools | platform-tools/ platforms;android-19 | 4 | Android SDK Platform 19 | platforms/android-19/ platforms;android-20 | 2 | Android SDK Platform 20 | platforms/android-20/ platforms;android-21 | 2 | Android SDK Platform 21 | platforms/android-21/ platforms;android-22 | 2 | Android SDK Platform 22 | platforms/android-22/ platforms;android-23 | 3 | Android SDK Platform 23 | platforms/android-23/ platforms;android-24 | 2 | Android SDK Platform 24 | platforms/android-24/ platforms;android-25 | 3 | Android SDK Platform 25 | platforms/android-25/ platforms;android-26 | 2 | Android SDK Platform 26 | platforms/android-26/ platforms;android-27 | 3 | Android SDK Platform 27 | platforms/android-27/ platforms;android-28 | 6 | Android SDK Platform 28 | platforms/android-28/ sources;android-19 | 2 | Sources for Android 19 | sources/android-19/ sources;android-20 | 1 | Sources for Android 20 | sources/android-20/ sources;android-21 | 1 | Sources for Android 21 | sources/android-21/ sources;android-22 | 1 | Sources for Android 22 | sources/android-22/ sources;android-23 | 1 | Sources for Android 23 | sources/android-23/ sources;android-24 | 1 | Sources for Android 24 | sources/android-24/ sources;android-25 | 1 | Sources for Android 25 | sources/android-25/ sources;android-26 | 1 | Sources for Android 26 | sources/android-26/ sources;android-27 | 1 | Sources for Android 27 | sources/android-27/ sources;android-28 | 1 | Sources for Android 28 | sources/android-28/ tools | 26.1.1 | Android SDK Tools | tools/ Available Packages: Path | Version | Description ------- | ------- | ------- add-ons;addon-google_apis-google-15 | 3 | Google APIs add-ons;addon-google_apis-google-16 | 4 | Google APIs add-ons;addon-google_apis-google-17 | 4 | Google APIs add-ons;addon-google_apis-google-18 | 4 | Google APIs add-ons;addon-google_apis-google-19 | 20 | Google APIs add-ons;addon-google_apis-google-21 | 1 | Google APIs add-ons;addon-google_apis-google-22 | 1 | Google APIs add-ons;addon-google_apis-google-23 | 1 | Google APIs add-ons;addon-google_apis-google-24 | 1 | Google APIs add-ons;addon-google_gdk-google-19 | 11 | Glass Development Kit Preview build-tools;19.1.0 | 19.1.0 | Android SDK Build-Tools 19.1 build-tools;20.0.0 | 20.0.0 | Android SDK Build-Tools 20 build-tools;21.1.2 | 21.1.2 | Android SDK Build-Tools 21.1.2 build-tools;22.0.1 | 22.0.1 | Android SDK Build-Tools 22.0.1 build-tools;23.0.1 | 23.0.1 | Android SDK Build-Tools 23.0.1 build-tools;23.0.2 | 23.0.2 | Android SDK Build-Tools 23.0.2 build-tools;23.0.3 | 23.0.3 | Android SDK Build-Tools 23.0.3 build-tools;24.0.0 | 24.0.0 | Android SDK Build-Tools 24 build-tools;24.0.1 | 24.0.1 | Android SDK Build-Tools 24.0.1 build-tools;24.0.2 | 24.0.2 | Android SDK Build-Tools 24.0.2 build-tools;24.0.3 | 24.0.3 | Android SDK Build-Tools 24.0.3 build-tools;25.0.0 | 25.0.0 | Android SDK Build-Tools 25 build-tools;25.0.1 | 25.0.1 | Android SDK Build-Tools 25.0.1 build-tools;25.0.2 | 25.0.2 | Android SDK Build-Tools 25.0.2 build-tools;25.0.3 | 25.0.3 | Android SDK Build-Tools 25.0.3 build-tools;26.0.0 | 26.0.0 | Android SDK Build-Tools 26 build-tools;26.0.1 | 26.0.1 | Android SDK Build-Tools 26.0.1 build-tools;26.0.2 | 26.0.2 | Android SDK Build-Tools 26.0.2 build-tools;26.0.3 | 26.0.3 | Android SDK Build-Tools 26.0.3 build-tools;27.0.0 | 27.0.0 | Android SDK Build-Tools 27 build-tools;27.0.1 | 27.0.1 | Android SDK Build-Tools 27.0.1 build-tools;27.0.2 | 27.0.2 | Android SDK Build-Tools 27.0.2 build-tools;27.0.3 | 27.0.3 | Android SDK Build-Tools 27.0.3 build-tools;28.0.0 | 28.0.0 | Android SDK Build-Tools 28 build-tools;28.0.0-rc1 | 28.0.0 rc1 | Android SDK Build-Tools 28-rc1 build-tools;28.0.0-rc2 | 28.0.0 rc2 | Android SDK Build-Tools 28-rc2 build-tools;28.0.1 | 28.0.1 | Android SDK Build-Tools 28.0.1 build-tools;28.0.2 | 28.0.2 | Android SDK Build-Tools 28.0.2 build-tools;28.0.3 | 28.0.3 | Android SDK Build-Tools 28.0.3 cmake;3.6.4111459 | 3.6.4111459 | CMake 3.6.4111459 docs | 1 | Documentation for Android SDK emulator | 27.3.10 | Android Emulator extras;android;gapid;1 | 1.0.3 | GPU Debugging tools extras;android;gapid;3 | 3.1.0 | GPU Debugging tools extras;android;m2repository | 47.0.0 | Android Support Repository extras;google;auto | 1.1 | Android Auto Desktop Head Unit emulator extras;google;google_play_services | 49 | Google Play services extras;google;instantapps | 1.5.0 | Google Play Instant Development SDK extras;google;m2repository | 58 | Google Repository extras;google;market_apk_expansion | 1 | Google Play APK Expansion library extras;google;market_licensing | 1 | Google Play Licensing Library extras;google;simulators | 1 | Android Auto API Simulators extras;google;webdriver | 2 | Google Web Driver extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0 | 1 | Solver for ConstraintLayout 1.0.0 extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-alpha2 | 1 | com.android.support.constraint:constraint-layout-solver:1.0.0-alpha2 extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-alpha3 | 1 | com.android.support.constraint:constraint-layout-solver:1.0.0-alpha3 extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-alpha4 | 1 | com.android.support.constraint:constraint-layout-solver:1.0.0-alpha4 extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-alpha5 | 1 | Solver for ConstraintLayout 1.0.0-alpha5 extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-alpha6 | 1 | Solver for ConstraintLayout 1.0.0-alpha6 extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-alpha7 | 1 | Solver for ConstraintLayout 1.0.0-alpha7 extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-alpha8 | 1 | Solver for ConstraintLayout 1.0.0-alpha8 extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-alpha9 | 1 | Solver for ConstraintLayout 1.0.0-alpha9 extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-beta1 | 1 | Solver for ConstraintLayout 1.0.0-beta1 extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-beta2 | 1 | Solver for ConstraintLayout 1.0.0-beta2 extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-beta3 | 1 | Solver for ConstraintLayout 1.0.0-beta3 extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-beta4 | 1 | Solver for ConstraintLayout 1.0.0-beta4 extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-beta5 | 1 | Solver for ConstraintLayout 1.0.0-beta5 extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.1 | 1 | Solver for ConstraintLayout 1.0.1 extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.2 | 1 | Solver for ConstraintLayout 1.0.2 extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0 | 1 | ConstraintLayout for Android 1.0.0 extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-alpha2 | 1 | com.android.support.constraint:constraint-layout:1.0.0-alpha2 extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-alpha3 | 1 | com.android.support.constraint:constraint-layout:1.0.0-alpha3 extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-alpha4 | 1 | com.android.support.constraint:constraint-layout:1.0.0-alpha4 extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-alpha5 | 1 | ConstraintLayout for Android 1.0.0-alpha5 extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-alpha6 | 1 | ConstraintLayout for Android 1.0.0-alpha6 extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-alpha7 | 1 | ConstraintLayout for Android 1.0.0-alpha7 extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-alpha8 | 1 | ConstraintLayout for Android 1.0.0-alpha8 extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-alpha9 | 1 | ConstraintLayout for Android 1.0.0-alpha9 extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-beta1 | 1 | ConstraintLayout for Android 1.0.0-beta1 extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-beta2 | 1 | ConstraintLayout for Android 1.0.0-beta2 extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-beta3 | 1 | ConstraintLayout for Android 1.0.0-beta3 extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-beta4 | 1 | ConstraintLayout for Android 1.0.0-beta4 extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-beta5 | 1 | ConstraintLayout for Android 1.0.0-beta5 extras;m2repository;com;android;support;constraint;constraint-layout;1.0.1 | 1 | ConstraintLayout for Android 1.0.1 extras;m2repository;com;android;support;constraint;constraint-layout;1.0.2 | 1 | ConstraintLayout for Android 1.0.2 lldb;2.0 | 2.0.2558144 | LLDB 2.0 lldb;2.1 | 2.1.2852477 | LLDB 2.1 lldb;2.2 | 2.2.3271982 | LLDB 2.2 lldb;2.3 | 2.3.3614996 | LLDB 2.3 lldb;3.0 | 3.0.4213617 | LLDB 3.0 lldb;3.1 | 3.1.4508709 | LLDB 3.1 ndk-bundle | 18.1.5063045 | NDK patcher;v4 | 1 | SDK Patch Applier v4 platform-tools | 28.0.1 | Android SDK Platform-Tools platforms;android-10 | 2 | Android SDK Platform 10 platforms;android-11 | 2 | Android SDK Platform 11 platforms;android-12 | 3 | Android SDK Platform 12 platforms;android-13 | 1 | Android SDK Platform 13 platforms;android-14 | 4 | Android SDK Platform 14 platforms;android-15 | 5 | Android SDK Platform 15 platforms;android-16 | 5 | Android SDK Platform 16 platforms;android-17 | 3 | Android SDK Platform 17 platforms;android-18 | 3 | Android SDK Platform 18 platforms;android-19 | 4 | Android SDK Platform 19 platforms;android-20 | 2 | Android SDK Platform 20 platforms;android-21 | 2 | Android SDK Platform 21 platforms;android-22 | 2 | Android SDK Platform 22 platforms;android-23 | 3 | Android SDK Platform 23 platforms;android-24 | 2 | Android SDK Platform 24 platforms;android-25 | 3 | Android SDK Platform 25 platforms;android-26 | 2 | Android SDK Platform 26 platforms;android-27 | 3 | Android SDK Platform 27 platforms;android-28 | 6 | Android SDK Platform 28 platforms;android-7 | 3 | Android SDK Platform 7 platforms;android-8 | 3 | Android SDK Platform 8 platforms;android-9 | 2 | Android SDK Platform 9 sources;android-15 | 2 | Sources for Android 15 sources;android-16 | 2 | Sources for Android 16 sources;android-17 | 1 | Sources for Android 17 sources;android-18 | 1 | Sources for Android 18 sources;android-19 | 2 | Sources for Android 19 sources;android-20 | 1 | Sources for Android 20 sources;android-21 | 1 | Sources for Android 21 sources;android-22 | 1 | Sources for Android 22 sources;android-23 | 1 | Sources for Android 23 sources;android-24 | 1 | Sources for Android 24 sources;android-25 | 1 | Sources for Android 25 sources;android-26 | 1 | Sources for Android 26 sources;android-27 | 1 | Sources for Android 27 sources;android-28 | 1 | Sources for Android 28 system-images;android-10;default;armeabi-v7a | 4 | ARM EABI v7a System Image system-images;android-10;default;x86 | 4 | Intel x86 Atom System Image system-images;android-10;google_apis;armeabi-v7a | 5 | Google APIs ARM EABI v7a System Image system-images;android-10;google_apis;x86 | 5 | Google APIs Intel x86 Atom System Image system-images;android-14;default;armeabi-v7a | 2 | ARM EABI v7a System Image system-images;android-15;default;armeabi-v7a | 4 | ARM EABI v7a System Image system-images;android-15;default;x86 | 4 | Intel x86 Atom System Image system-images;android-15;google_apis;armeabi-v7a | 5 | Google APIs ARM EABI v7a System Image system-images;android-15;google_apis;x86 | 5 | Google APIs Intel x86 Atom System Image system-images;android-16;default;armeabi-v7a | 4 | ARM EABI v7a System Image system-images;android-16;default;mips | 1 | MIPS System Image system-images;android-16;default;x86 | 6 | Intel x86 Atom System Image system-images;android-16;google_apis;x86 | 5 | Google APIs Intel x86 Atom System Image system-images;android-17;default;armeabi-v7a | 5 | ARM EABI v7a System Image system-images;android-17;default;mips | 1 | MIPS System Image system-images;android-17;default;x86 | 4 | Intel x86 Atom System Image system-images;android-17;google_apis;armeabi-v7a | 5 | Google APIs ARM EABI v7a System Image system-images;android-17;google_apis;x86 | 6 | Google APIs Intel x86 Atom System Image system-images;android-18;default;armeabi-v7a | 4 | ARM EABI v7a System Image system-images;android-18;default;x86 | 3 | Intel x86 Atom System Image system-images;android-18;google_apis;armeabi-v7a | 5 | Google APIs ARM EABI v7a System Image system-images;android-18;google_apis;x86 | 5 | Google APIs Intel x86 Atom System Image system-images;android-19;default;armeabi-v7a | 5 | ARM EABI v7a System Image system-images;android-19;default;x86 | 6 | Intel x86 Atom System Image system-images;android-19;google_apis;armeabi-v7a | 36 | Google APIs ARM EABI v7a System Image system-images;android-19;google_apis;x86 | 36 | Google APIs Intel x86 Atom System Image system-images;android-21;android-tv;armeabi-v7a | 3 | Android TV ARM EABI v7a System Image system-images;android-21;android-tv;x86 | 3 | Android TV Intel x86 Atom System Image system-images;android-21;default;armeabi-v7a | 4 | ARM EABI v7a System Image system-images;android-21;default;x86 | 5 | Intel x86 Atom System Image system-images;android-21;default;x86_64 | 5 | Intel x86 Atom_64 System Image system-images;android-21;google_apis;armeabi-v7a | 28 | Google APIs ARM EABI v7a System Image system-images;android-21;google_apis;x86 | 28 | Google APIs Intel x86 Atom System Image system-images;android-21;google_apis;x86_64 | 28 | Google APIs Intel x86 Atom_64 System Image system-images;android-22;android-tv;x86 | 3 | Android TV Intel x86 Atom System Image system-images;android-22;default;armeabi-v7a | 2 | ARM EABI v7a System Image system-images;android-22;default;x86 | 6 | Intel x86 Atom System Image system-images;android-22;default;x86_64 | 6 | Intel x86 Atom_64 System Image system-images;android-22;google_apis;armeabi-v7a | 22 | Google APIs ARM EABI v7a System Image system-images;android-22;google_apis;x86 | 22 | Google APIs Intel x86 Atom System Image system-images;android-22;google_apis;x86_64 | 22 | Google APIs Intel x86 Atom_64 System Image system-images;android-23;android-tv;armeabi-v7a | 12 | Android TV ARM EABI v7a System Image system-images;android-23;android-tv;x86 | 17 | Android TV Intel x86 Atom System Image system-images;android-23;android-wear;armeabi-v7a | 6 | Android Wear ARM EABI v7a System Image system-images;android-23;android-wear;x86 | 6 | Android Wear Intel x86 Atom System Image system-images;android-23;default;x86 | 10 | Intel x86 Atom System Image system-images;android-23;default;x86_64 | 10 | Intel x86 Atom_64 System Image system-images;android-23;google_apis;armeabi-v7a | 29 | Google APIs ARM EABI v7a System Image system-images;android-23;google_apis;x86 | 29 | Google APIs Intel x86 Atom System Image system-images;android-23;google_apis;x86_64 | 29 | Google APIs Intel x86 Atom_64 System Image system-images;android-24;android-tv;x86 | 18 | Android TV Intel x86 Atom System Image system-images;android-24;default;arm64-v8a | 7 | ARM 64 v8a System Image system-images;android-24;default;armeabi-v7a | 7 | ARM EABI v7a System Image system-images;android-24;default;x86 | 8 | Intel x86 Atom System Image system-images;android-24;default;x86_64 | 8 | Intel x86 Atom_64 System Image system-images;android-24;google_apis;arm64-v8a | 23 | Google APIs ARM 64 v8a System Image system-images;android-24;google_apis;armeabi-v7a | 23 | Google APIs ARM EABI v7a System Image system-images;android-24;google_apis;x86 | 23 | Google APIs Intel x86 Atom System Image system-images;android-24;google_apis;x86_64 | 23 | Google APIs Intel x86 Atom_64 System Image system-images;android-24;google_apis_playstore;x86 | 19 | Google Play Intel x86 Atom System Image system-images;android-25;android-tv;x86 | 12 | Android TV Intel x86 Atom System Image system-images;android-25;android-wear-cn;armeabi-v7a | 4 | China version of Android Wear ARM EABI v7a System Image system-images;android-25;android-wear-cn;x86 | 4 | China version of Android Wear Intel x86 Atom System Image system-images;android-25;android-wear;armeabi-v7a | 3 | Android Wear ARM EABI v7a System Image system-images;android-25;android-wear;x86 | 3 | Android Wear Intel x86 Atom System Image system-images;android-25;default;x86 | 1 | Intel x86 Atom System Image system-images;android-25;default;x86_64 | 1 | Intel x86 Atom_64 System Image system-images;android-25;google_apis;arm64-v8a | 14 | Google APIs ARM 64 v8a System Image system-images;android-25;google_apis;armeabi-v7a | 14 | Google APIs ARM EABI v7a System Image system-images;android-25;google_apis;x86 | 14 | Google APIs Intel x86 Atom System Image system-images;android-25;google_apis;x86_64 | 14 | Google APIs Intel x86 Atom_64 System Image system-images;android-25;google_apis_playstore;x86 | 9 | Google Play Intel x86 Atom System Image system-images;android-26;android-tv;x86 | 10 | Android TV Intel x86 Atom System Image system-images;android-26;android-wear-cn;x86 | 4 | China version of Android Wear Intel x86 Atom System Image system-images;android-26;android-wear;x86 | 4 | Android Wear Intel x86 Atom System Image system-images;android-26;default;x86 | 1 | Intel x86 Atom System Image system-images;android-26;default;x86_64 | 1 | Intel x86 Atom_64 System Image system-images;android-26;google_apis;x86 | 11 | Google APIs Intel x86 Atom System Image system-images;android-26;google_apis;x86_64 | 11 | Google APIs Intel x86 Atom_64 System Image system-images;android-26;google_apis_playstore;x86 | 7 | Google Play Intel x86 Atom System Image system-images;android-27;android-tv;x86 | 5 | Android TV Intel x86 Atom System Image system-images;android-27;default;x86 | 1 | Intel x86 Atom System Image system-images;android-27;default;x86_64 | 1 | Intel x86 Atom_64 System Image system-images;android-27;google_apis;x86 | 7 | Google APIs Intel x86 Atom System Image system-images;android-27;google_apis_playstore;x86 | 3 | Google Play Intel x86 Atom System Image system-images;android-28;android-tv;x86 | 5 | Android TV Intel x86 Atom System Image system-images;android-28;default;x86 | 4 | Intel x86 Atom System Image system-images;android-28;default;x86_64 | 4 | Intel x86 Atom_64 System Image system-images;android-28;google_apis;x86 | 5 | Google APIs Intel x86 Atom System Image system-images;android-28;google_apis;x86_64 | 5 | Google APIs Intel x86 Atom_64 System Image system-images;android-28;google_apis_playstore;x86 | 5 | Google Play Intel x86 Atom System Image system-images;android-28;google_apis_playstore;x86_64 | 5 | Google Play Intel x86 Atom_64 System Image system-images;android-P;android-wear-cn;x86 | 2 | China version of Wear OS Intel x86 Atom System Image system-images;android-P;android-wear;x86 | 2 | Wear OS Intel x86 Atom System Image tools Quote Link to comment Share on other sites More sharing options...
Milton Posted October 14, 2018 Share Posted October 14, 2018 Probably not long enough All I can figure is some sort of SDK mismatch. Look at the project section in your build.gradle. Maybe you're missing the default versions... Quote Link to comment Share on other sites More sharing options...
espace Posted October 14, 2018 Author Share Posted October 14, 2018 however all is installed ... Quote Link to comment Share on other sites More sharing options...
Milton Posted October 14, 2018 Share Posted October 14, 2018 Could you post platforms/android/build.gradle ? (in your project dir, reqTest?) Quote Link to comment Share on other sites More sharing options...
espace Posted October 14, 2018 Author Share Posted October 14, 2018 sure syst@syst:~/hello/platforms/android$ cat build.gradle /* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { maven { url "https://maven.google.com" } jcenter() } dependencies { // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files classpath 'com.android.tools.build:gradle:3.0.1' } } allprojects { repositories { maven { url "https://maven.google.com" } jcenter() } //This replaces project.properties w.r.t. build settings project.ext { defaultBuildToolsVersion="27.0.1" //String defaultMinSdkVersion=19 //Integer - Minimum requirement is Android 4.4 defaultTargetSdkVersion=27 //Integer - We ALWAYS target the latest by default defaultCompileSdkVersion=27 //Integer - We ALWAYS compile with the latest by default } } task clean(type: Delete) { delete rootProject.buildDir } Quote Link to comment Share on other sites More sharing options...
Milton Posted October 14, 2018 Share Posted October 14, 2018 defaultBuildToolsVersion="27.0.1" //String Installed packages:=====================] 100% Computing updates... Path | Version | Description | Location ------- | ------- | ------- | ------- build-tools;19.1.0 | 19.1.0 | Android SDK Build-Tools 19.1 | build-tools/19.1.0/ build-tools;20.0.0 | 20.0.0 | Android SDK Build-Tools 20 | build-tools/20.0.0/ build-tools;26.0.2 | 26.0.2 | Android SDK Build-Tools 26.0.2 | build-tools/26.0.2/ build-tools;28.0.3 | 28.0.3 | Android SDK Build-Tools 28.0.3 | build-tools/28.0.3/ See the problem ? espace 1 Quote Link to comment Share on other sites More sharing options...
espace Posted October 14, 2018 Author Share Posted October 14, 2018 Yes 27.0.1 is missing. I must try on an virtual machine because I don't have any space on my session. I try tomorrow. Could you help me again tomorrow if never ? A big thanks for your assistance. Quote Link to comment Share on other sites More sharing options...
espace Posted October 15, 2018 Author Share Posted October 15, 2018 hi, again problem i have install the build tools and accept the licenses and i have this error below: ./sdkmanager "build-tools;19.0.1" ./sdkmanager "build-tools;26.0.2" ./sdkmanager --licenses All SDK package licenses accepted.======] 100% Computing updates... BUILD FAILED in 1s /home/syst/hello/platforms/android/gradlew: Command failed with exit code 1 Error output: FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':CordovaLib'. > You have not accepted the license agreements of the following SDK components: [Android SDK Platform 27, Android SDK Build-Tools 26.0.2]. Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager. Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. * Get more help at https://help.gradle.org my requirements is not good also : Android Studio project detected Requirements check results for android: Java JDK: installed 1.8.0 Android SDK: installed true Android target: not installed android: Command failed with exit code ENOENT Gradle: installed /usr/share/gradle/bin/gradle Some of requirements check failed ...... Quote Link to comment Share on other sites More sharing options...
espace Posted October 15, 2018 Author Share Posted October 15, 2018 Youpppppppppeeeeeeeeeeeeeeeeeeeeeeeeee Success by copy the files under the licenses directory from ~/Android/Sdk/licenses to /usr/lib/android-sdk/licenses. Big thanks to you Milton. Have a nice day. Quote Link to comment Share on other sites More sharing options...
Milton Posted October 15, 2018 Share Posted October 15, 2018 Good luck espace Send me your apk ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.