androidx

Flutter app freeze in build release, work properly in debug, androidX?

醉酒当歌 提交于 2020-01-06 14:27:11
问题 final update: now everything works; while before I was not adding internet permission and the app worked perfectly (contacting API and everything), since the update I have to explicitly modify the manifest. Easy fix actually: manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.xxx.xxx"> <uses-permission android:name="android.permission.INTERNET"/> <application android:name="io.flutter.app.FlutterApplication" android:label="xxx" android:icon="@mipmap/ic_launcher">

error Failed to run jetifier. Run CLI with --verbose flag for more details

坚强是说给别人听的谎言 提交于 2020-01-06 07:22:04
问题 Initially I created projects that were running normally with react-native run-android, now it has the following error: Já tentei o comando: react-native run-android --no-jetifier Detail the code that I circled, it no longer works for any project you try to create. PS C:\Users\Morgana Ribeiro\curso-react-native\nubank> react-native run-android` info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag. error Failed to run jetifier. Run CLI with -

Clipboard shows a different label

ε祈祈猫儿з 提交于 2020-01-06 05:30:08
问题 The behavior of long-pressing on an edittext is showing a Clipboard with a wrong label as shown in the picture below. instead of having the normal label Clipboard it's showing tw_clipboard_title_text . This is especially happening in samsung. What could be the issue? I'm not even dealing with ClipboardManager <EditText android:id="@+id/signup_Phone" android:layout_width="match_parent" android:layout_height="wrap_content" android:afterTextChanged="@{viewModel::onUsernameChanged}" android

Clipboard shows a different label

和自甴很熟 提交于 2020-01-06 05:30:07
问题 The behavior of long-pressing on an edittext is showing a Clipboard with a wrong label as shown in the picture below. instead of having the normal label Clipboard it's showing tw_clipboard_title_text . This is especially happening in samsung. What could be the issue? I'm not even dealing with ClipboardManager <EditText android:id="@+id/signup_Phone" android:layout_width="match_parent" android:layout_height="wrap_content" android:afterTextChanged="@{viewModel::onUsernameChanged}" android

Cannot find version of 'androidx.arch', 'androidx.room', etc

北战南征 提交于 2020-01-03 13:56:08
问题 I am experiencing the following issue when trying to build an android application. I have come across some android post on forcing or using a manual dependency resolution strategy. This does not seem to solve the problem. A similar issue has been asked : Similar stack overflow question. An issue was also opened : Issue Tracker on a similar issue. * What went wrong: Execution failed for task ':app:lintVitalSunmiRelease'. > Could not resolve all artifacts for configuration ':data

AndroidX incompatible with DataBinding Android

好久不见. 提交于 2020-01-03 13:55:24
问题 Ok, I've been tasked with migrating a project to AndroidX to reduce the clutter of the support libs in our project. I've enabled AndroidX as per the official docs but now I'm getting run time errors when trying to inflate views via the corresponding auto generated Binding classes that are created from enabling databinding in the modules gradle. Digging into the autogenerated source I came across this method, which is the one which is causing the code to throw: public List<DataBinderMapper>

Gradle - Transformation hasn't been executed yet

只谈情不闲聊 提交于 2020-01-03 10:00:11
问题 I just migrated my project to androidx and enabled jetifier. Now when I want to build my project I get this error : " Transformation hasn't been executed yet " Gradle sync finishes without any error but building fails. This task is failed to execute : Transform org.eclipse.jdt.core.jar (org.eclipse.jdt:org.eclipse.jdt.core:3.10.0) with IdentityTransform StackTrace : java.lang.IllegalStateException: Transformation hasn't been executed yet at org.gradle.api.internal.artifacts.transform

How do i fix this error of 'simple_permissions' on flutter?

夙愿已清 提交于 2020-01-02 06:08:29
问题 There is an error when I run the code including simple_permissions on flutter project. Initializing gradle... Resolving dependencies... Running Gradle task 'assembleDebug'... C:\Users\ria\Downloads\flutter_windows_v1.2.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\simple_permissions-0.1.9\android\src\main\java\com\ethras\simplepermissions\SimplePermissionsPlugin.java:9: error: cannot find symbol import android.support.v4.app.ActivityCompat; ^ symbol: class ActivityCompat location:

After migration to AndroidX, exception at start up: java.lang.ClassNotFoundException: “Didn't find class androidx.core.app.CoreComponentFactory”

随声附和 提交于 2019-12-31 20:39:13
问题 After migration to AndroidX i have the following exception at startup: LoadedApk: Unable to instantiate appComponentFactory java.lang.ClassNotFoundException: Didn't find class "androidx.core.app.CoreComponentFactory" on path: DexPathList[[],nativeLibraryDirectories=[/data/app/com.apps.entertainmentsolutions.offhole-yUKw5A4ysDVrPyO-DpnhKg==/lib/arm64, /system/lib64, /system/vendor/lib64]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134) at java.lang.ClassLoader

Given byte-array of VectorDrawable, how can I create an instance of VectorDrawable from it?

被刻印的时光 ゝ 提交于 2019-12-31 05:13:09
问题 Background My app finds APK files in the storage of the device, showing information about them and allowing to perform operations on them. The problem Thing is, ever since Google added new restrictions about storage, I'm trying to find solutions about how to parse APK files without storage permission (because the framework can handle only file-path). For now I use the special legacy flag (requestLegacyExternalStorage) to allow me to do it with file-path, but it's a temporary solution till the