Downloaded this:
https://github.com/lohanidamodar/flutter_firebase_starter.git
And "flutter build apk" immediately result in an error that leads to this:
Following the steps, after modify according to the website above, the patch applied are as follows:
diff –git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index 6a552d4..c026b8a 100644
— a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -6,7 +6,7 @@
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. –>
<application
– android:name="io.flutter.app.FlutterApplication"
+ android:name="${applicationName}"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher">
<activity
@@ -24,6 +24,11 @@
<action android:name="FLUTTER_NOTIFICATION_CLICK" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
+ <!– Don’t delete the meta-data below.
+ This is used by the Flutter tool to generate GeneratedPluginRegistrant.java –>
+ <meta-data
+ android:name="flutterEmbedding"
+ android:value="2" />
</activity>
<activity
android:name="com.yalantis.ucrop.UCropActivity"
Trying out "flutter build apk" again:
Because firebase_auth >=0.18.4 <0.18.4+1 depends on firebase_auth_web ^0.3.2+2 and firebase_auth ^0.18.4+1 depends on firebase_auth_web ^0.3.2+3, firebase_auth ^0.18.4 requires firebase_auth_web ^0.3.2+2.
And because no versions of firebase_auth match >0.18.3+1 <0.18.4 and firebase_auth 0.18.3+1 depends on firebase_auth_web ^0.3.2+1, firebase_auth ^0.18.3+1 requires firebase_auth_web ^0.3.2+1.
And because firebase_auth_web >=0.3.0-dev.1 <0.4.0-1.0.nullsafety.0 depends on intl ^0.16.1 and ev
And looking at the version:
well, I think the problem will need more time for solution.
You must be logged in to post a comment.