src/main/resources/code/android/library-flutter/src/main/AndroidManifest.xml
@@ -12,9 +12,7 @@ <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/Theme.Android"> <activity @@ -37,6 +35,12 @@ android:name="flutterEmbedding" android:value="2"></meta-data> <!-- 图片裁剪 --> <activity android:name="com.yalantis.ucrop.UCropActivity" android:screenOrientation="portrait" android:theme="@style/Theme.AppCompat.Light.NoActionBar" /> </application>