android-studio-3.0

Failed to transform file '45907c80e09917e1b776adf038505958' to match attributes {artifactType=jar} using transform AarTransform

江枫思渺然 提交于 2019-12-29 06:17:50
问题 I am using Android 3.0 canary 4 and making an app. Everything was working fine until yesterday, but today when i opened the project, it gave me an error F:\test projects\SellIT\app\build.gradle Error:Failed to resolve: Failed to transform file '45907c80e09917e1b776adf038505958' to match attributes {artifactType=jar} using transform AarTransform <a href="openFile:F:/test projects/SellIT/app/build.gradle">Open File</a> Error:Failed to resolve: Failed to transform file

What is the <module>/release/output.json generated by Android Studio

╄→гoц情女王★ 提交于 2019-12-29 03:24:57
问题 I recently noticed a new file generated at <module>/release/output.json by Android Studio 3 Canary 1 each time I run Build -> Generate Signed APK... , which has contents that look like following. Can anyone confirm seeing this behavior as well? Or is it due to some local configuration on my laptop? And can anyone explain the purpose of this file? Is it safe to add to .gitignore ? [{ "outputType": { "type": "APK" }, "apkInfo": { "type": "MAIN", "splits": [], "versionCode": 32 }, "outputFile":

Could not find com.android.tools.lint:lint-gradle Android Studio 3

坚强是说给别人听的谎言 提交于 2019-12-29 03:12:07
问题 I have updated Android Studio to 3.0 and now received a lot of issues.. now stoped on point with such issue: Could not resolve all files for configuration ':applib:_lintClassPath'. > Could not find com.android.tools.lint:lint-gradle:26.1.0-alpha01. Searched in the following locations: file:/Users/anwender/Library/Android/sdk/extras/m2repository/com/android/tools/lint/lint-gradle/26.1.0-alpha01/lint-gradle-26.1.0-alpha01.pom file:/Users/anwender/Library/Android/sdk/extras/m2repository/com

Gradle version 3.3 does not support forTask() method on BuildActionExecuter

你。 提交于 2019-12-28 08:06:21
问题 I just updated my Android Studio to 3.0 canary 1. Now I am working on my existing project on Android Studio 3.0 canary 1. By default gradle:3.0.0-alpha1 is set in my project: gradle_file. So I changed my gradle version to 2.2.3 and now I'm getting this error: Error:Failed to complete Gradle execution. Cause: The version of Gradle you are using (3.3) does not support the forTasks() method on BuildActionExecuter. Support for this is available in Gradle 3.5 and all later versions. I attached my

Gradle version 3.3 does not support forTask() method on BuildActionExecuter

*爱你&永不变心* 提交于 2019-12-28 08:06:13
问题 I just updated my Android Studio to 3.0 canary 1. Now I am working on my existing project on Android Studio 3.0 canary 1. By default gradle:3.0.0-alpha1 is set in my project: gradle_file. So I changed my gradle version to 2.2.3 and now I'm getting this error: Error:Failed to complete Gradle execution. Cause: The version of Gradle you are using (3.3) does not support the forTasks() method on BuildActionExecuter. Support for this is available in Gradle 3.5 and all later versions. I attached my

android.widget.FrameLayout cannot be cast to com.example.crowderia.chat.view.SnapTabView?

浪子不回头ぞ 提交于 2019-12-25 12:15:10
问题 I have a frame layout call view_snap_tabs.xml that have image and view like below <?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="184dp" xmlns:tools="http://schemas.android.com/tools" tools:layout_gravity="bottom" tools:background="@color/light_purple"> <ImageView android:id="@+id/vst_bottom_image" android:layout_width="32dp" android:layout_height="32dp" android:layout

android.widget.FrameLayout cannot be cast to com.example.crowderia.chat.view.SnapTabView?

限于喜欢 提交于 2019-12-25 12:14:49
问题 I have a frame layout call view_snap_tabs.xml that have image and view like below <?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="184dp" xmlns:tools="http://schemas.android.com/tools" tools:layout_gravity="bottom" tools:background="@color/light_purple"> <ImageView android:id="@+id/vst_bottom_image" android:layout_width="32dp" android:layout_height="32dp" android:layout

How does the kotlin file run on android studio 3.0 Canary 4?

守給你的承諾、 提交于 2019-12-25 08:57:57
问题 We all know that Android Studio can be directly run java class main function, I would like to practice in this way in Android Studio kotlin syntax, I just simply wrote a Hello Word! The result collapsed: enter image description here Android Studio is also based on IntelliJ IDEA implementation, I can not think that available Android Studio to simply compile kotlin file, so I hope to give a reply, thank you! Here are some configuration information: apply plugin: 'java-library' apply plugin:

sqliteLog 14: cannot open file at line

允我心安 提交于 2019-12-25 01:53:47
问题 I don't know where are my mistakes. I am trying to store the lyrics.db file in my DB_PATH when the database doesn't exist and my checkDatabase method returns false, or my DB is obsolete. However, I get the following :- E/SQLiteLog: (14) cannot open file at line 36356 of [605907e73a] (14) os_unix.c:36356: (2) open(/data/user/0/id.ac.umn.project_uts_mobile_16862/filesid.ac.umn.project_uts_mobile_16862/databases/lyrics.db) - (1) Process ts_mobile_16862 : Pid (12455) Uid (10196) Euid (10196) Gid

Logcat messages not shown with Xperia XA1 ultra

爱⌒轻易说出口 提交于 2019-12-24 10:35:24
问题 Hi when I debug my apps with Sony Xperia XA1 Ultra in android studio, debug and verbose logs do not appear. My phone is running Android 8.0. I have installed the necessary driver and have tested with another phone (Sony Xperia Z1 Compact) and it outputs the logcat messages. Anybody else with the same issue? 回答1: Log.d messages are ignored in some models. You can use Log.i to solve the problem. To replace in all of your project files, you can follow: Find and replace Android studio 来源: https:/