android-studio-3.0

How can i fix this error in android Adobe SDK Tool?

怎甘沉沦 提交于 2019-12-05 01:34:23
问题 I have integrated Adobe Editor in my android application it was working fine, After updating my android studio, it is crashing i added in gradle android { compileSdkVersion 26 buildToolsVersion '26.0.2' defaultConfig { multiDexEnabled true minSdkVersion 21 targetSdkVersion 26 versionName computeVersionName() testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" applicationId 'package.name' versionCode 3 manifestPlaceholders = [appPackageName: "${applicationId}"]

Android SDK (Nexus 5X API28 x86) stopping at preparing for setup

独自空忆成欢 提交于 2019-12-05 01:20:31
I've recently picked up the Android SDK and I'm attempting to configure an SDK to test programs and maybe do some basic Java app programming on. My problem is that it apparently won't finish its setup. Apart from the freeze, that the start button is grayed out and I do not have access to the Google Play store. I do have access to the Google Play Music and Movie stores. My main issue with testing any apps to confirm that this would be workable for development is that I have no access to the main Google Play store. I'd like access to it so that I can see how these emulated test devices handle

Android launcher icon still showing default in Android oreo

馋奶兔 提交于 2019-12-04 19:08:12
问题 I Changed my application launcher icon using android studio 3.0.1 File -> Image Asset In Android version 8.1 icon looks like below image my AndroidManifest details <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:hardwareAccelerated="true" android:supportsRtl="true" android:theme="@style/AppTheme"> I double checked the icons. ic_launcher and ic_launcher_round are my new icons Every

Android studio 3.0 Canary 6 A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction

不羁岁月 提交于 2019-12-04 16:34:40
问题 All was fine until i updated the android studio to Canary 6, When i rebuild or clean or whatever with project it's throw : A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction And this error guide me to my vectors.xml [All of them got this error] . My Current app level build.gradle : apply plugin: 'com.android.application' android { compileSdkVersion 25 buildToolsVersion "25.0.2" useLibrary 'org.apache.http.legacy' defaultConfig {

Android Studio 3.0 and gradle upgrade - base.apk code is missing while creating apk

限于喜欢 提交于 2019-12-04 15:04:53
I tried to upgrade my gradle from 2.3.3 to 3.0.0 in Android Studio 3.0 (stable). Project builds fine but I get issue while creating/installing APK: Failure [INSTALL_FAILED_INVALID_APK: Package couldn't be installed in /data/app/xxxx Package /data/app/xxxx/base.apk code is missing] $ adb shell pm uninstall xxxx Unknown failure (at android.os.Binder.execTransact(Binder.java:674)) Error while Installing APK If I build standalone APK and install it directly on device/emulator I get that it is malformed/incorrect. Project is with Kotlin, and DexGuard 8.0.12 which should allow for Kotlin and gradle

Can't start Android Studio Layout Inspector: “Unexpected error: empty view hierarchy”

梦想的初衷 提交于 2019-12-04 14:57:57
问题 Can't seem to launch Layout Inspector on Android Studio 3.0 (Canary 3) When connected to my device and app running, choosing Tools > Android > Layout Inspector comes up with the following error dialog: "Error obtaining view hierarchy: Unexpected error: empty view hierarchy" Any setup I'm missing? I have Developer Options enabled on the device. 回答1: In general I've this behavior when something is "moving" in the view so the layout inspector cannot retrieve a simple layout, that's why pausing a

Cannot run my app, asking to select Android SDK

半城伤御伤魂 提交于 2019-12-04 12:59:41
Today I've installed Android Studio Canary 1 Now I cannot run my app. This following dialog appears. I've already set the right SDK location through File-> Project Structure-> Android SDK location. Expecting your help to solve this problem. Warning Dialog image: Vincent Mungai Go to project structure settings and set Source Compatibility and Target Compatibility to your current java development kit version: Just you need to sync your project file with your gradle file. File -> Sync Project with Gradle Files Sometimes the SDK path will be incorrectly configured. You would need to fix it. To

After updating android studio 3.0 unable to build the project

删除回忆录丶 提交于 2019-12-04 12:24:03
android.enableAapt2=false added at the bottom of gradle.properties gradle.properties http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true android.enableAapt2=false build.gradle Updated the gradle file after updating sdk tool to 26 version sdk tool is upto date apply plugin: 'com.android.application' android { compileSdkVersion 26 buildToolsVersion '26.0.2' defaultConfig { applicationId "com.example.madhural.myapplication" minSdkVersion 15 targetSdkVersion 26 versionCode 1 versionName "1.0" testInstrumentationRunner "android

android studio 3.0 stuck at “building gradle project info”

人走茶凉 提交于 2019-12-04 10:28:15
Today I was going to make a new project in Android Studio. The Android Studio on my computer is updated to 3.0. When I was creating a new project and finished the procedure of the settings, the AS stuck at "Building Gradle Project info". I have met this situation several times in AS 2.3.3, and I solved them by modifying the gradle distributionUrl. But this time, it doesn't work. I hope someone can give me a hand. Thanks anyway! Because downloading Gradle takes a lot of time when your network situation is not so good, you have to download it by yourself. My solution is: 1. Download a new

java.lang.UnsupportedOperationException: Can't convert value at index 5 to color: type=0x5

久未见 提交于 2019-12-04 10:01:20
问题 My app is crashing after updating to Android Studio 3 RC1 ( Gradle 4, Android Gradle plugin 3 RC2). This is the error I am having: java.lang.RuntimeException: Unable to start activity ComponentInfo{*****}: android.view.InflateException: Binary XML file line #0: Binary XML file line #0: Error inflating class com.viewpagerindicator.CirclePageIndicator at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2817) at android.app.ActivityThread.handleLaunchActivity(ActivityThread