拒绝对先前失败的类java.lang.Class <com.google.android.gms.org.conscrypt.java7extendedsslsessio

时间:2018-09-15 12:11:30

标签: flutter google-cloud-firestore firebase-app-indexing

=“”

遵循以下原则:https://www.youtube.com/watch?v=iu3a0kf6-Fw 我刚开始并尝试连续上传3张图片,每张图片都是手势检测器的一个子对象,我首先在pubspec.yaml中编写了此图片:

assets:

  -wedn2\1.jpg
  -C:\Users\pc\Desktop\wedn2\wedn2\2.jpg
  -C:\Users\pc\Desktop\wedn2\wedn2\3.jpg

然后在主飞镖中,将图像放在列表中:

List<String> fileNames = <String>[
  'assets/photos/wallpaper-1.jpg',
  'assets/photos/wallpaper-2.jpg',
  'assets/photos/wallpaper-3.jpg',
];

然后我自己在行中这样写:

Row(
                      mainAxisAlignment: MainAxisAlignment.spaceBetween,

         children: fileNames
                  .map((name) => GestureDetector(

                      child: Image.asset(
                        name,
                        width: 125.0,
                      )))
                  .toList(),
      ),

我明白了,我不知道这意味着什么,而移动设备上正在运行的应用程序是我之前编写的以前的应用程序!

I/FlutterActivityDelegate(10855): onResume setting current activity to this
I/FlutterActivityDelegate(10855): onResume setting current activity to this
C:\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage-1.0.2\android\src\main\java\io\flutter\plugins\firebase\storage\FirebaseStoragePlugin.java:293: warning: [unchecked] unchecked cast
    Map<String, String> customMetadata = (Map<String, String>) map.get("customMetadata");
                                                                      ^
  required: Map<String,String>
  found:    Object
1 warning
Note: C:\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.5.20\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.5.20\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: C:\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.2.5\android\src\main\java\io\flutter\plugins\firebase\core\FirebaseCorePlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: C:\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-0.8.0\android\src\main\java\io\flutter\plugins\firebase\cloudfirestore\CloudFirestorePlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
I/FlutterActivityDelegate(10855): onResume setting current activity to this
I/FlutterActivityDelegate(10855): onResume setting current activity to this
Built build\app\outputs\apk\debug\app-debug.apk.
Installing build\app\outputs\apk\app.apk...                 38.6s
I/FlutterActivityDelegate(12059): onResume setting current activity to this
D/ViewRootImpl(12059): ViewPostImeInputStage ACTION_DOWN
Syncing files to device SM G531H...
D/ContextImpl(12059): ContextImpl running for user UserHandle{0} 0
W/ResourcesManager(12059): getTopLevelResources: null for user  0
W/Firestore(12059): (0.6.6-dev) [Firestore]: The behavior for java.util.Date objects stored in Firestore is going to change AND YOUR APP MAY BREAK.
W/Firestore(12059): To hide this warning and ensure your app does not break, you need to add the following code to your app before calling
any other Cloud Firestore methods:
W/Firestore(12059):
W/Firestore(12059): FirebaseFirestore firestore = FirebaseFirestore.getInstance();
W/Firestore(12059): FirebaseFirestoreSettings settings = new FirebaseFirestoreSettings.Builder()
W/Firestore(12059):     .setTimestampsInSnapshotsEnabled(true)
W/Firestore(12059):     .build();
W/Firestore(12059): firestore.setFirestoreSettings(settings);
W/Firestore(12059):
W/Firestore(12059): With this change, timestamps stored in Cloud Firestore will be read back as com.google.firebase.Timestamp objects instead of as system java.util.Date objects. So you will also need to update code expecting a java.util.Date to instead expect a Timestamp. For
example:
W/Firestore(12059):
W/Firestore(12059): // Old:
W/Firestore(12059): java.util.Date date = snapshot.getDate("created_at");
W/Firestore(12059): // New:
W/Firestore(12059): Timestamp timestamp = snapshot.getTimestamp("created_at");
W/Firestore(12059): java.util.Date date = timestamp.toDate();
W/Firestore(12059):
W/Firestore(12059): Please audit all existing usages of java.util.Date when you enable the new behavior. In a future release, the behavior
will be changed to the new behavior, so if you do not follow these steps, YOUR APP MAY BREAK.
W/ResourcesManager(12059): Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources.
W/ResourcesManager(12059): Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.
W/linker  (12059): libconscrypt_gmscore_jni.so: unused DT entry: type 0x6ffffffe arg 0x1554
W/linker  (12059): libconscrypt_gmscore_jni.so: unused DT entry: type 0x6fffffff arg 0x2
V/NativeCrypto(12059): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 284 native methods...
I/art     (12059): Rejecting re-init on previously-failed class java.lang.Class<com.google.android.gms.org.conscrypt.Java7ExtendedSSLSession>
I/art     (12059): Rejecting re-init on previously-failed class java.lang.Class<com.google.android.gms.org.conscrypt.Java7ExtendedSSLSession>
I/art     (12059): Rejecting re-init on previously-failed class java.lang.Class<com.google.android.gms.org.conscrypt.Java8ExtendedSSLSession>
I/art     (12059): Rejecting re-init on previously-failed class java.lang.Class<com.google.android.gms.org.conscrypt.Java8ExtendedSSLSession>
I/art     (12059): Background sticky concurrent mark sweep GC freed 15815(934KB) AllocSpace objects, 6(96KB) LOS objects, 6% free, 7MB/8MB, paused 13.549ms total 155.517ms
I/art     (12059): Background partial concurrent mark sweep GC freed 11068(488KB) AllocSpace objects, 0(0B) LOS objects, 39% free, 7MB/12MB, paused 6.103ms total 48.400ms
I/ProviderInstaller(12059): Installed default security provider GmsCore_OpenSSL

有什么主意吗? 预先感谢。

0 个答案:

没有答案