having "Description: Too few items in renditions." when compiling - iphone

I have the error:
.../Assets.xcassets: error: Multiple validation errors occurred.
Underlying Errors:
Description: Too few items in renditions.
Description: Too few items in renditions.
Description: Too few items in renditions.
Description: Too few items in renditions.
Description: Too few items in renditions.
when trying to compile in Xcode
Any suggestion about how to fix it?

Related

Error while running built value generator

I got an error while trying to use built value generator
This was the error that i got.
[INFO] Running build...
[INFO] Generating SDK summary.
[SEVERE] built value generator:built value on lib/json_parsing.dart:
Bad state: Unexpected diagnostics:
C:\src\flutter\bin\cacheldart-sdk\lib\core\uri.dart:3259:39 - Expected an identifier.
[SEVERE] built_value_generator:built_value on lib/json_parsing.dart:
Bad state: Unexpected diagnostics:
C:\src\Flutter\bin\cache\dart-sdk\lib\core uri.dart:3259:39 - Expected an identifier.
[SEVERE] built_value_generator:built_value on lib/json_parsing.dart:
Bad state: Unexpected diagnostics:
C:\src\flutter\bin\cache\dart-sdk\lib\coreluri.dart:3259:39 - Expected an identifier.
the class which i was using running the built value generator on
import 'package:built_value/built_value.dart';
part 'src/json_parsing.g.dart';
abstract class Article implements Built<Article, ArticleBuilder> {
Article._();
factory Article([void Function(ArticleBuilder) updates]) = _$Article;
}
As mentioned by #Mohammad on the comments, and from this issue, just add this to pubspec.yaml:
dependency_overrides:
analyzer: '0.39.14'
Note, this is a sibling of dependencies and dev_dependencies.
It looks like build_runner version 1.10.1 pinned the version of analyzer to 0.39.14.
Try to update build_runner: build_runner: ^1.10.1 without adding dependency_overrides: and see.

Getting this exception while running flutter app for Android

Can anybody tell me what to do about these error. Everything is working fine when I run the same app on ios. For android I am getting the below exception. One error is plugin not found. Another one is some compilation issues.
Plugin project :firebase_auth_web not found. Please update settings.gradle.
Plugin project :firebase_core_web not found. Please update settings.gradle.
Plugin project :cloud_firestore_web not found. Please update settings.gradle.
Note: /Users/daljitsingh/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.13.7/android/src/main/java/io/flutter/plugins/firebase/cloudfirestore/CloudFirestorePlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
/Users/daljitsingh/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.4.12+1/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerPlugin.java:8: error: package android.support.annotation does not exist
import android.support.annotation.VisibleForTesting;
^
symbol: class VisibleForTesting
location: class ImagePickerDelegate
/Users/daljitsingh/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.4.12+1/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerDelegate.java:73: error: cannot find symbol
#VisibleForTesting static final int REQUEST_CODE_TAKE_VIDEO_WITH_CAMERA = 2353;
^
symbol: class VisibleForTesting
location: class ImagePickerDelegate
/Users/daljitsingh/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.4.12+1/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerDelegate.java:74: error: cannot find symbol
#VisibleForTesting static final int REQUEST_EXTERNAL_VIDEO_STORAGE_PERMISSION = 2354;
^
symbol: class VisibleForTesting
FAILURE: Build failed with an exception.
Update the Android Integration part of each of these plugins pub page: https://pub.dev/packages/firebase_auth ...

After upgrading flutter version from v1.12.13+hotfix.8 to 1.17.0 getting such error

Compiler message:
../../../Public/FlutterSDK/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_cupertino_date_picker-1.0.12/lib/src/date_picker_theme.dart:39:9: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments.
const DateTimePickerTheme({
^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.
If you are using flutter_cupertino_date_picker, you may be will need to update it, This is working with me:
flutter_cupertino_date_picker: ^1.0.26

Unity3d Error FacebookSDK

I have face with this error log when I try to get Build
stderr[
/Users/enes/WordeXtra/Temp/StagingArea/android-libraries/facebook-android-sdk-4.23.0/res/values/values.xml:131: error: Error retrieving parent for item: No resource found that matches the given name '#style/Theme.AppCompat.NoActionBar'.
/Users/enes/WordeXtra/Temp/StagingArea/android-libraries/facebook-android-sdk-4.23.0/res/values/values.xml:136: error: Error retrieving parent for item: No resource found that matches the given name '#style/Theme.AppCompat.Dialog'.
]
From your android-sdk/extras/android/m2repository/com/android/support folder, copy 'appcombat-vX' and 'support-v4' folders to Library folder of your project (Not to Assets folder, it is different).
I suppose the thing to do is to remove that old SDK and get the latest version from here: https://developers.facebook.com/docs/audience-network/download#unity
Current version is 7.10.1.

Error when creating private pod using paypal

Im getting this error when try to push the repo to pod.
ERROR | [iOS] unknown: Encountered an unknown error (The 'Pods' target has transitive dependencies that include static binaries: (/private/var/folders/_5/s6k8gtbd1mj24s4wbz3j1q_00000gn/T/CocoaPods/Lint/Pods/PayPal-iOS-SDK/PayPalMobile/libPayPalMobile.a)) during validation.
any one have idea plz