انجمن تخصّصی کانستراکت

نسخه‌ی کامل: آموزش خروجی اندروید روی سیستم شخصی
شما در حال مشاهده‌ی نسخه‌ی متنی این صفحه می‌باشید. مشاهده‌ی نسخه‌ی کامل با قالب بندی مناسب.
صفحه‌ها: 1 2 3 4 5 6 7 8 9 10 11 12 13
برای cordova requirements [تصویر:  Image_4.png]
(1398/5/29، 09:35 عصر)kiarash نوشته است: [ -> ]برای cordova requirements [تصویر:  Image_4.png]

چرا این همه ای پی ای اس دی کی الکی و بدرد نخور دانلود کردی ؟ نت مفتی بوده  4


بگذریم ، بیخیال اون بشو ، این دستور زیر و در دایرکتوری ویندوزت بزن ، در صورتی که موفقیت آمیز بود بدون مشکل خروجیتو بگیر :

کد:
org.gradle.daemon=false

اولا نت مفت بوده دوما باشه تست میکنم.
سلام دوستان
هنگام خروجی این ارورو می ده. 

Microsoft Windows [Version 10.0.17134.950]

© 2018 Microsoft Corporation. All rights reserved.

C:\Users\email> cd\

C:\>cordova create game
Creating a new cordova project.

C:\>cd\game

C:\game>cordova platform add android
Using cordova-fetch for cordova-android@~7.1.1
Adding android project...
Creating Cordova project for the Android platform:
        Path: platforms\android
        Package: arabi10.ensani.shagerdbartar
        Name: ____________________
        Activity: MainActivity
        Android target: android-27
Android project created with [email protected]
Android Studio project detected
Android Studio project detected
config file *-Info.plist requested for changes not found at C:\game\platforms\android\*-Info.plist, ignoring
config file *-Info.plist requested for changes not found at C:\game\platforms\android\*-Info.plist, ignoring
Discovered plugin "cordova-custom-config" in config.xml. Adding it to the project
Installing "cordova-custom-config" for android
Adding cordova-custom-config to package.json
Saved plugin info for "cordova-custom-config" to config.xml
Discovered plugin "cordova-plugin-file" in config.xml. Adding it to the project
Installing "cordova-plugin-file" for android

The Android Persistent storage location now defaults to "Internal". Please check this plugin's README to see if your application needs any changes in its config.xml.

If this is a new application no changes are required.

If this is an update to an existing application that did not specify an "AndroidPersistentFileLocation" you may need to add:

      "<preference name="AndroidPersistentFileLocation" value="Compatibility" />"

to config.xml in order for the application to find previously stored files.

Adding cordova-plugin-file to package.json
Saved plugin info for "cordova-plugin-file" to config.xml
Discovered plugin "cordova-plugin-inappbrowser" in config.xml. Adding it to the project
Installing "cordova-plugin-inappbrowser" for android
Adding cordova-plugin-inappbrowser to package.json
Saved plugin info for "cordova-plugin-inappbrowser" to config.xml
Discovered plugin "cordova-plugin-statusbar" in config.xml. Adding it to the project
Installing "cordova-plugin-statusbar" for android
Adding cordova-plugin-statusbar to package.json
Saved plugin info for "cordova-plugin-statusbar" to config.xml
Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the project
Installing "cordova-plugin-whitelist" for android
Adding cordova-plugin-whitelist to package.json
Saved plugin info for "cordova-plugin-whitelist" to config.xml
Discovered plugin "cordova-plugin-wkwebview-engine" in config.xml. Adding it to the project
Installing "cordova-plugin-wkwebview-engine" for android
Adding cordova-plugin-wkwebview-engine to package.json
Saved plugin info for "cordova-plugin-wkwebview-engine" to config.xml
config file *-Info.plist requested for changes not found at C:\game\platforms\android\*-Info.plist, ignoring
config file *-Info.plist requested for changes not found at C:\game\platforms\android\*-Info.plist, ignoring
--save flag or autosave detected
Saving android@~7.1.4 into config.xml file ...

C:\game>cordova build android --release -- --keystore=C:\AmirrezaYousefi.keystore --storePassword=1490610170 --alias=Amirreza --Password=1490610170
cordova-custom-config: Skipping auto-restore of config file backup(s)
Android Studio project detected
config file *-Info.plist requested for changes not found at C:\game\platforms\android\*-Info.plist, ignoring
config file *-Info.plist requested for changes not found at C:\game\platforms\android\*-Info.plist, ignoring
ANDROID_HOME=E:\Android SDK
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_172
studio
:wrapper

BUILD SUCCESSFUL

Total time: 41.875 secs
Subproject Path: CordovaLib
Subproject Path: app
Downloading https://services.gradle.org/distribution....1-all.zip
.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Unzipping C:\Users\email\.gradle\wrapper\dists\gradle-4.1-all\bzyivzo6n839fup2jbap0tjew\gradle-4.1-all.zip to C:\Users\email\.gradle\wrapper\dists\gradle-4.1-all\bzyivzo6n839fup2jbap0tjew
Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all files for configuration ':classpath'.
   > Could not find com.android.tools.build:gradle:3.0.1.
     Searched in the following locations:
         https://maven.google.com/com/android/too...-3.0.1.pom
         https://maven.google.com/com/android/too...-3.0.1.jar
         https://jcenter.bintray.com/com/android/...-3.0.1.pom
         https://jcenter.bintray.com/com/android/...-3.0.1.jar
     Required by:
         project :

* 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

BUILD FAILED in 10m 48s
cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all files for configuration ':classpath'.
   > Could not find com.android.tools.build:gradle:3.0.1.
     Searched in the following locations:
         https://maven.google.com/com/android/too...-3.0.1.pom
         https://maven.google.com/com/android/too...-3.0.1.jar
         https://jcenter.bintray.com/com/android/...-3.0.1.pom
         https://jcenter.bintray.com/com/android/...-3.0.1.jar
     Required by:
         project :

* 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

BUILD FAILED in 10m 48s

C:\game>
فکر میکنم مشکل از گرادل باشه (شاید) 
اطمینان کنید که آخرین نسخه گرادل رو نصب کرده باشید
میشه لینک بدی.!!
این روش رو امتحان کنید
cordova create game com.package.name.
(1398/5/30، 03:33 عصر)kiarash نوشته است: [ -> ]میشه لینک بدی.!!

آموزش نصب گرادل

(1398/5/29، 09:38 عصر)hesam3 نوشته است: [ -> ]
(1398/5/29، 09:35 عصر)kiarash نوشته است: [ -> ]برای cordova requirements [تصویر:  Image_4.png]

چرا این همه ای پی ای اس دی کی الکی و بدرد نخور دانلود کردی ؟ نت مفتی بوده  4


بگذریم ، بیخیال اون بشو ، این دستور زیر و در دایرکتوری ویندوزت بزن ، در صورتی که موفقیت آمیز بود بدون مشکل خروجیتو بگیر :

کد:
org.gradle.daemon=false
اقا حسام نمیخونش چیکار کنم ؟؟؟

این متنو بخونید شاید مشکلتون حل شد:
https://docs.gradle.org/current/userguid...the_daemon
صفحه‌ها: 1 2 3 4 5 6 7 8 9 10 11 12 13