یلدا ادامه داره... ❤️ ۴۰ درصد تخفیف همه دورهها
استفاده از تخفیفهاسلام
هرکاری میکنم این خطا برطرف نمیشه لطفا راهنمایی کنید.
کد خود را اینجا
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
Exception in thread "main" java.util.zip.ZipException: zip END header not found
at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1587)
at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1441)
at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1450)
at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1263)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1225)
at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:706)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:240)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:171)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:185)
at org.gradle.wrapper.Install.unzip(Install.java:239)
at org.gradle.wrapper.Install.access$900(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:81)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:63)
at makeError (C:\Users\Hamed\Desktop\test\node_modules\execa\index.js:174:9)
at C:\Users\Hamed\Desktop\test\node_modules\execa\index.js:278:16
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async runOnAllDevices (C:\Users\Hamed\Desktop\test\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:94:5)
at async Command.handleAction (C:\Users\Hamed\Desktop\test\node_modules\react-native\node_modules\@react-native-community\cli\build\index.js:186:9)
info Run CLI with --verbose flag for more details.
C:\Users\Hamed\Desktop\test>
وارد کنید
یکی مشکل شمارو داشته این دستورات زده حل شده
chmod 755 android/gradlew
react-native run-android
آیا مایل به ارسال نوتیفیکیشن و اخبار از طرف راکت هستید ؟