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

نسخه‌ی کامل: مشکل در پوشه
شما در حال مشاهده‌ی نسخه‌ی متنی این صفحه می‌باشید. مشاهده‌ی نسخه‌ی کامل با قالب بندی مناسب.
سلام ، دوستان
در مورد پلاگین نوتیفیکیشن یه سوال داشتم . ببینید من وقتی این پلاگین رو وارد بازی میکنم و خروجی وب ویو پلاس کوکون میگیرم ، موقع ورود بازی یه ارور ساده میده که با زدن روی دکمه ok وارد بازی میشه ولی بازار واسه همین ایراد میگیرده میخواستم ببینم چطور باید حلش کنم ؟؟؟
سلام تایپیک مربوط به این پلاگین هست , سوالتون رو اونجا میپرسیدید بهتر بود.

از ارور عکس بزارید و اندروید گوشیتون رو هم بگید چنده.
من اندروید 5 هیچ مشکلی نداره خروجی هایی که از پوشه استفاده میکنم.
خیلی ممنون از نظرتون ولی اومدم توی کوکون و وب ویو پلاس یه خروجی بگیرم (از یه پروژه ساده که فقط پلاگین پوشه داره ) ولی ارور زیر رو میده ، باید چیکار کنم ؟؟؟
کد:
COMPILER ERROR:

/workspace/platforms/android/gradlew: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /workspace/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':transformClassesWithDexForArmv7Release'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes;

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

CORDOVA LOG:

edia-compat-26.0.2.jar
skipping existing file: support-v4-26.0.2.jar
skipping existing file: pushe.js
skipping existing file: pushe4cordova.js
cp: dest file already exists: /workspace/plugins/pushe-cordova-plugin/ReadMe.rst

cp: dest file already exists: /workspace/plugins/pushe-cordova-plugin/ReadMe.rst
cp: dest file already exists: /workspace/plugins/pushe-cordova-plugin/build-extras.gradle

cp: dest file already exists: /workspace/plugins/pushe-cordova-plugin/ReadMe.rst
cp: dest file already exists: /workspace/plugins/pushe-cordova-plugin/build-extras.gradle
cp: dest file already exists: /workspace/plugins/pushe-cordova-plugin/package.json

cp: dest file already exists: /workspace/plugins/pushe-cordova-plugin/ReadMe.rst
cp: dest file already exists: /workspace/plugins/pushe-cordova-plugin/build-extras.gradle
cp: dest file already exists: /workspace/plugins/pushe-cordova-plugin/package.json
cp: dest file already exists: /workspace/plugins/pushe-cordova-plugin/plugin.xml

skipping existing file: Pushe.aar
skipping existing file: play-services-base-11.8.0.aar
skipping existing file: play-services-basement-11.8.0.aar
skipping existing file: PusheCordovaPlugin.java
skipping existing file: android-job-1.2.4.jar
skipping existing file: play-services-gcm-11.8.0.jar
skipping existing file: play-services-iid-11.8.0.jar
skipping existing file: play-services-location-11.8.0.jar
skipping existing file: play-services-tasks-11.8.0.jar
skipping existing file: pushebuild.gradle
skipping existing file: support-annotations-26.0.2.jar
skipping existing file: support-compat-26.0.2.jar
skipping existing file: support-core-ui-26.0.2.jar
skipping existing file: support-core-utils-26.0.2.jar
skipping existing file: support-fragment-26.0.2.jar
skipping existing file: support-media-compat-26.0.2.jar
skipping existing file: support-v4-26.0.2.jar
skipping existing file: pushe.js
skipping existing file: pushe4cordova.js
[2018-07-24T09:07:31.500] [DEBUG] AndroidBuilder - [build]
[2018-07-24T09:07:31.500] [DEBUG] AndroidBuilder - [build] create certs folder
[2018-07-24T09:07:31.501] [DEBUG] AndroidBuilder - [build] keystore
[2018-07-24T09:07:31.679] [DEBUG] AndroidBuilder - [build] create release build.json
[2018-07-24T09:07:31.680] [DEBUG] AndroidBuilder - [build] call cordova
cp: dest file already exists: /workspace/plugins/pushe-cordova-plugin/ReadMe.rst

cp: dest file already exists: /workspace/plugins/pushe-cordova-plugin/ReadMe.rst
cp: dest file already exists: /workspace/plugins/pushe-cordova-plugin/build-extras.gradle

cp: dest file already exists: /workspace/plugins/pushe-cordova-plugin/ReadMe.rst
cp: dest file already exists: /workspace/plugins/pushe-cordova-plugin/build-extras.gradle
cp: dest file already exists: /workspace/plugins/pushe-cordova-plugin/package.json

cp: dest file already exists: /workspace/plugins/pushe-cordova-plugin/ReadMe.rst
cp: dest file already exists: /workspace/plugins/pushe-cordova-plugin/build-extras.gradle
cp: dest file already exists: /workspace/plugins/pushe-cordova-plugin/package.json
cp: dest file already exists: /workspace/plugins/pushe-cordova-plugin/plugin.xml

skipping existing file: Pushe.aar
skipping existing file: play-services-base-11.8.0.aar
skipping existing file: play-services-basement-11.8.0.aar
skipping existing file: PusheCordovaPlugin.java
skipping existing file: android-job-1.2.4.jar
skipping existing file: play-services-gcm-11.8.0.jar
skipping existing file: play-services-iid-11.8.0.jar
skipping existing file: play-services-location-11.8.0.jar
skipping existing file: play-services-tasks-11.8.0.jar
skipping existing file: pushebuild.gradle
skipping existing file: support-annotations-26.0.2.jar
skipping existing file: support-compat-26.0.2.jar
skipping existing file: support-core-ui-26.0.2.jar
skipping existing file: support-core-utils-26.0.2.jar
skipping existing file: support-fragment-26.0.2.jar
skipping existing file: support-media-compat-26.0.2.jar
skipping existing file: support-v4-26.0.2.jar
skipping existing file: pushe.js
skipping existing file: pushe4cordova.js
ANDROID_HOME=/opt/cocoon_compiler/workspace/production/data/sdks/android-sdks-linux
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
Subproject Path: CordovaLib
Starting a Gradle Daemon, 9 stopped Daemons could not be reused, use --status for details
null
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
    at build_5j5lidwl6il2oqf0oo2i9ulac.run(/workspace/platforms/android/build.gradle:140)
org.xwalk:xwalk_core_library:22+
Not writing assets/xwalk-command-line since file already exists.
The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.
Incremental java compilation is an incubating feature.
The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.
:preBuild UP-TO-DATE
:preArmv7ReleaseBuild UP-TO-DATE
:checkArmv7ReleaseManifest
:preArmv7DebugBuild UP-TO-DATE
:preX86DebugBuild UP-TO-DATE
:preX86ReleaseBuild UP-TO-DATE
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:checkDebugManifest
:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugAidl
:CordovaLib:compileDebugNdk UP-TO-DATE
:CordovaLib:compileLint
:CordovaLib:copyDebugLint UP-TO-DATE
:CordovaLib:mergeDebugShaders
:CordovaLib:compileDebugShaders
:CordovaLib:generateDebugAssets
:CordovaLib:mergeDebugAssets
:CordovaLib:mergeDebugProguardFiles
:CordovaLib:packageDebugRenderscript UP-TO-DATE
:CordovaLib:compileDebugRenderscript
:CordovaLib:generateDebugResValues
:CordovaLib:generateDebugResources
:CordovaLib:packageDebugResources
:CordovaLib:processDebugManifest
:CordovaLib:generateDebugBuildConfig
:CordovaLib:processDebugResources
:CordovaLib:generateDebugSources
:CordovaLib:incrementalDebugJavaCompilationSafeguard
:CordovaLib:compileDebugJavaWithJavac
:CordovaLib:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:CordovaLib:processDebugJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForDebug
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug
:CordovaLib:mergeDebugJniLibFolders
:CordovaLib:transformNative_libsWithMergeJniLibsForDebug
:CordovaLib:transformNative_libsWithSyncJniLibsForDebug
:CordovaLib:bundleDebug
:CordovaLib:preReleaseBuild UP-TO-DATE
:CordovaLib:checkReleaseManifest
:CordovaLib:prepareReleaseDependencies
:CordovaLib:compileReleaseAidl
:CordovaLib:compileReleaseNdk UP-TO-DATE
:CordovaLib:copyReleaseLint UP-TO-DATE
:CordovaLib:mergeReleaseShaders
:CordovaLib:compileReleaseShaders
:CordovaLib:generateReleaseAssets
:CordovaLib:mergeReleaseAssets
:CordovaLib:mergeReleaseProguardFiles
:CordovaLib:packageReleaseRenderscript UP-TO-DATE
:CordovaLib:compileReleaseRenderscript
:CordovaLib:generateReleaseResValues
:CordovaLib:generateReleaseResources
:CordovaLib:packageReleaseResources
:CordovaLib:processReleaseManifest
:CordovaLib:generateReleaseBuildConfig
:CordovaLib:processReleaseResources
:CordovaLib:generateReleaseSources
:CordovaLib:incrementalReleaseJavaCompilationSafeguard
:CordovaLib:compileReleaseJavaWithJavac
:CordovaLib:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:CordovaLib:processReleaseJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForRelease
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease
:CordovaLib:mergeReleaseJniLibFolders
:CordovaLib:transformNative_libsWithMergeJniLibsForRelease
:CordovaLib:transformNative_libsWithSyncJniLibsForRelease
:CordovaLib:bundleRelease
:prepareComAndroidSupportSupportCompat2420Library
:prepareComAndroidSupportSupportCoreUi2420Library
:prepareComAndroidSupportSupportCoreUtils2420Library
:prepareComAndroidSupportSupportFragment2420Library
:prepareComAndroidSupportSupportMediaCompat2420Library
:prepareComAndroidSupportSupportV42420Library
:prepareOrgApacheCordovaCordovaLib623ReleaseLibrary
:prepareOrgXwalkXwalk_core_library22525614Library
:preparePlayServicesBase1180Library
:preparePlayServicesBasement1180Library
:preparePusheLibrary
:prepareWebviewplusReleaseLibrary
:prepareArmv7ReleaseDependencies
:compileArmv7ReleaseAidl
:compileArmv7ReleaseRenderscript
:generateArmv7ReleaseBuildConfig
:generateArmv7ReleaseResValues
:generateArmv7ReleaseResources
:mergeArmv7ReleaseResources
:processArmv7ReleaseManifest
:processArmv7ReleaseResources
:generateArmv7ReleaseSources
:incrementalArmv7ReleaseJavaCompilationSafeguard
:compileArmv7ReleaseJavaWithJavac
:compileArmv7ReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: /workspace/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:compileArmv7ReleaseNdk UP-TO-DATE
:compileArmv7ReleaseSources
:lintVitalArmv7Release
:mergeArmv7ReleaseShaders
:compileArmv7ReleaseShaders
:generateArmv7ReleaseAssets
:mergeArmv7ReleaseAssets
:transformClassesWithDexForArmv7Release FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':transformClassesWithDexForArmv7Release'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes;

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 46.414 secs


ضمنا ببخشید برای پلاگین پوشه ارور نمیده ، اولین باری که وارد بازی میشم ، یه فورس کلوز میده و وقتی دوباره وارد بازی میشم بازی به خوبی اجرا میشه و بازار به خاطر همین ایراد میگیره .
از کدوم نسخه از پلاگین استفاده میکنید؟


و چطور نصب میکنید پلاگین رو؟
چه پارامتر هایی میدید به پلاگین؟
والا همین نسخه ای که آقا میلاد دیروز پریروز بروز کردن ، اون رو نصب کردم . هیچی روش میزنم و نصب میشه دیگه . پارامتری اضافه نمیکنم .

فقط روی بازیم نصبش میکنم

مگه باید اونتی بهش بدم ؟؟؟

ارور کوکون مال چیه ؟؟؟
باید توی کوکون , دوتا پارامتر بهش اضافه کنید.
صبر کنید دارم یه آموزش درست میکنم براش.
اون دوتا پارامتر رو که اصافه کردم ، منظورتون همون مانیفیست کردوا هست دیگه که اقا میلاد گفته
دوستان امروز یه چیزی فهمیدم ، حدود 3 ، 4 ماه پیش ، من با پلاگین پوشه دوتا بازیم رو خروجی وب ویو پلاس گرفتم و بدون مشکل هردوتاشون خروجی دادن .ولی الان امروز که همون بازی رو دوباره خروجی گرفتم ، ارور داد . این یعنی جی ؟؟؟ یعنی مشکل از پلاگینه یا از کردوای پلاگینه ؟؟؟ یا چی ؟؟؟ 
ممنون میشم راهنمایی کنید .