android-studio-3.0

How to solve displayed emulator in connected devices android studio more than one

杀马特。学长 韩版系。学妹 提交于 2019-12-24 10:16:55
问题 I want to ask to you about how to detect emulator in Android Studio especially in version 3.1. I have problem that when I run Nox Emulator and MEMU together, the connected devices list shows only one that has displayed in dialog when I click run in Android Studio. I also restarted Android Studio and both emulators and the result is the same. How can I display both emulators in the connected devices list dialog? Thank you in advance. 回答1: It should appear without any further customizations. I

Flutter - Unable to detect/identify Android Studio

孤人 提交于 2019-12-24 07:35:08
问题 Just a day ago, Flutter, a new hybrid (mobile apps) development framework released by Google Inc. I installed Flutter SDK, following steps, provided from this link: Install on macOS - iOS setup. In the same steps, they provided a terminal command Run flutter doctor to ensure, Flutter is installation and integration with Android Studio Editor. Problem is, I've installed Android Studio - 3.0.1 in my mac (macOS - HighSierra) system. But Run flutter doctor shows [✗] Android Studio (not installed)

Android Studio 3.0 - SDK path not specified

*爱你&永不变心* 提交于 2019-12-24 00:58:16
问题 I tried to update Android Studio to 3.0 but got some crazy error, so I uninstalled AS and installed AS 3.0, but now when I try to open a file, I get an "SDK path not specified" error and nothing I select is accepted. I cannot find any file called "android-sdk" or something similar, which is what most of the other solutions on Stack Overflow suggest selecting. How do I fix this? Right now I'm trying this, but no clue if it will help: 1. I went to File -> Settings -> System Settings -> Android

Error:Manifest Tasks does not support the manifestOutputFile property any more, please use the manifestOutputDirectory instead. (Android Studio 3.0)

安稳与你 提交于 2019-12-24 00:21:37
问题 I get below error when I had migrated to Android Studio 3.0 recently. Error:Manifest Tasks does not support the manifestOutputFile property any more, please use the manifestOutputDirectory instead. I tried following the steps in: https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html but still get the same error. My build.gradle is as follows: buildscript { repositories { jcenter() mavenCentral() google() } dependencies { classpath 'com.android.tools.build:gradle:3.0.0'

Android Studio: No target device found: Why?

谁都会走 提交于 2019-12-23 19:32:09
问题 When I first start Android Studio opening an existing project, and click Run , I get the error message Error running app, No target device found . I have my Samsung plugged in and ADB debugging enabled . It correctly shows up with the adb devices command and ADB shell works fine. I tried adb start-server with no joy. Strangely, If I start 'Debug app' first and then 'Run' it works fine, but I don't understand why this annoying step is necessary. Other StackOverflow answers said to do "Edit

Error For input string: “ 12” Android studio

£可爱£侵袭症+ 提交于 2019-12-23 17:05:10
问题 My gradle is bellow: buildscript { repositories { maven { url 'https://plugins.gradle.org/m2/' } } dependencies { classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:0.8.1' } } apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin' repositories { maven { url 'https://maven.google.com' } } apply plugin: 'com.android.application' apply plugin: 'com.google.firebase.firebase-crash' repositories { jcenter() } android { compileSdkVersion 27 buildToolsVersion '27.0.3'

How to fix “More than one file was found with OS independent path 'project.properties'” Error in Android Studio 3.0 Beta-6

让人想犯罪 __ 提交于 2019-12-23 16:27:26
问题 I am using Android Gradle:3.0.0-beta-6 and it throws the following Error ever since I included Google Translation API. FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'. More than one file was found with OS independent path 'project.properties' This is my dependencies dependencies { annotationProcessor 'com.google.auto.value:auto-value:1.2' implementation fileTree(include: ['*.jar'], dir: 'libs')

How do I exclude a directory, like `node_modules` from Android Studio's Open File window?

安稳与你 提交于 2019-12-23 16:22:18
问题 The Open File window in Android Studio, Command + Shift + O , will search all directories by default, including the node_modules directory. This forces you to have to go through endless common files, like AndroidManifest.xml , before finding the one in your root directory. I noticed that in the my_project.iml file there is an excludeFolder tag but any edits I make to the my_project.iml file get overwritten the next time I rebuild the project. How do I exclude the node_modules directory

“Variables are not available” appearing sometimes during debugging, on stepping through program (Android Studio 3.5+)

假如想象 提交于 2019-12-23 07:36:12
问题 Typically, variables are shown in the debug mode in Android Studio (version 3.5.2). But sometimes, as I step through a program I suddenly get "Variables are not available" (see the image below). This time I get this within code where a bug is present, so I really want to know what is happening there. It is happening during running a test in the debug mode (not Android Test, and not running in emulator and/or on the device). How can I fix this? I used Run -> Build to rebuild project I used

Unable to play sound with different values

為{幸葍}努か 提交于 2019-12-23 05:25:41
问题 I am working on an Android application that record the audio and play it with different frequency and voice properties. my code working: It records,Stop and play the audio but not in desired format and values just like Voice Changer With Effects Basically this app record voice and play it with different properties like Ghost,Radio,Girl etc etc. I am using list view to achieve this. I want to change the properties of sound just like this application. Here is code for main activity public class