React-Native "Command Failed: gradlew.bat" hatası

egoist7

Centipat
Katılım
8 Haziran 2020
Mesajlar
16
Merhaba. Ben React-Native'de kendimce çalışıp öğrenmeye çalışıyorum. Firebase-AdMob eklerken aşağıdaki hatayı alıyorum. Firebase-App başarılı şekilde kurdum ama ne yaptıysam AdMob'u ekleyemedim. İnternetten baktığımda çözümlere hiçbiri derman olamadı ya da ben yapamadım. Yardımcı olacak birileri varsa beklerim, şimdiden sağ olun.

Deprecated gradle features were used in this Build, making it incompatible with gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See Command-Line Interface

Faılure: Build failed with an exception.

* Where:
Build file 'C:\Users\hakan\project\Heyy\android\app\build.gradle' line: 191.

* What went wrong:
A problem occurred evaluating project ':App'.
> Cannot convert the provided notation to an object of type dependency: BUILD_EUS2SALD7RVQ85MOPZD2LWIZS$_RUN_CLOSURE2$_closure15@26150A0D.
The following types/formats are supported:
- Instances of dependency.
- String or charsequence values, for example 'org. Gradle: Gradle-Core:1.0'.
- Maps, for example [group: 'org.gradle', name: 'gradle-core', version: '1.0'].
- Filecollections, for example files('some. Jar', 'someother. Jar').
- Projects, for example project(':some:project: Path').
- Classpathnotation, for example gradleApi().

Comprehensive documentation on dependency notations is available in DSL reference for dependencyhandler type.

* Try:
Run with --stacktrace option to GET the stack trace. Run with --info or --Debug option to GET more log output. Run with --scan to GET Full insights.

* GET more help at Gradle | Search for Help with Gradle

Bu�ld faıled in 1S.

Error failed to install the App. Make sure you have the Android development environment set up: Setting up the development environment · React Native. Run clı with --verbose flag for more details.
Error: Command failed: gradlew.bat App: İnstalldebug -preactnativedevserverport=8081.
 
Son düzenleyen: Moderatör:
Uyarı! Bu konu 6 yıl önce açıldı.
Muhtemelen daha fazla tartışma gerekli değildir ki bu durumda yeni bir konu başlatmayı öneririz. Eğer yine de cevabınızın gerekli olduğunu düşünüyorsanız buna rağmen cevap verebilirsiniz.

Bu konuyu görüntüleyen kullanıcılar

Technopat Haberler

Yeni konular

Yeni mesajlar

Geri
Yukarı