android-studio

How can I write Persian language in Android Studio?

对着背影说爱祢 提交于 2020-05-26 12:10:06
问题 I want to write Persian in Android Studio, but after typing Persian, Android Studio shows some strange characters. Of course it was right for about 3 months, but suddenly it's strange. 回答1: In android studio 1.2 you should go to configure> settings> colors and fonts> font> use your scheme> uncheck show only monospaced fonts> and finally use tahoma font and apply and ok. Enjoy it! Instruction 回答2: In android versions later than 3, you don't need anything but in earlier versions you must add

Timed out waiting for process to appear on device

拈花ヽ惹草 提交于 2020-05-26 10:32:30
问题 I am having the following problem when running or debugging apps on a device or emulator with Android Studio. The application is installed but it is not started on the device (or emulator). In the Run window I can see the following: Launching app on device. Waiting for process to come online... and after some time I see the following: Timed out waiting for process to appear on 'device'... I have attached a screenshot that shows the problem. The problem started recently. I am using the latest

Redirect after android login activity

淺唱寂寞╮ 提交于 2020-05-26 10:17:28
问题 I have created a login activity from this tutorial. But I have no idea how to redirect to my main activity after the login process has succeeded. Here is the login.java code: import android.app.Activity; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.view.Menu; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import android.widget.Toast; public class login extends

Android Studio: Multiple APKs for Multiple Modules

荒凉一梦 提交于 2020-05-25 07:47:45
问题 In Android is there a way to generate signed APKs for all modules in a project. E.g. I have following project Project -- Library Module -- Module 1 -- Module 2 -- Module 3 I want to generate APKs for all 3 modules in one command. Currently I have to separately use Generate Dialog for all 3 which takes a lot of time. 回答1: Yes you can generate multiple apk files with gradlew. Open Terminal Window in Android Studio and run following commands: 1- Navigate to root folder of the project, where

Entry name 'AndroidManifest.xml' collided (Build failed after updating the android gradle plugin to 3.6.0)

孤者浪人 提交于 2020-05-25 06:27:08
问题 I have recently update the Android studio from 3.5(stable) to 3.6(stable). Then I saw the plugin update is also available, so I have update the version of "com.android.tools.build:gradle" from 3.5.0 to 3.6.0 and also update the gradle version to 5.6.4 Now problem starts when I try to build the project it fails with message Entry name 'AndroidManifest.xml' collided 回答1: This is caused by Android Gradle plugin 3.6, revert to using the old packaging tool by including the following in your gradle

Entry name 'AndroidManifest.xml' collided (Build failed after updating the android gradle plugin to 3.6.0)

怎甘沉沦 提交于 2020-05-25 06:26:38
问题 I have recently update the Android studio from 3.5(stable) to 3.6(stable). Then I saw the plugin update is also available, so I have update the version of "com.android.tools.build:gradle" from 3.5.0 to 3.6.0 and also update the gradle version to 5.6.4 Now problem starts when I try to build the project it fails with message Entry name 'AndroidManifest.xml' collided 回答1: This is caused by Android Gradle plugin 3.6, revert to using the old packaging tool by including the following in your gradle

Android Studio Emulator: VK_VERSION_1_1 check failed

限于喜欢 提交于 2020-05-25 06:16:28
问题 I have a problem with Android Studio, when I run AVD on the event log information it always says 11:17 Emulator: VK_VERSION_1_1 check failed: vkBindBufferMemory2 not found 11:17 Emulator: VK_VERSION_1_1 check failed: vkBindImageMemory2 not found 11:17 Emulator: VK_VERSION_1_1 check failed: vkGetDeviceGroupPeerMemoryFeatures not found 11:17 Emulator: VK_VERSION_1_1 check failed: vkCmdSetDeviceMask not found 11:17 Emulator: VK_VERSION_1_1 check failed: vkCmdDispatchBase not found 11:17 Emulator

Android Studio Emulator: VK_VERSION_1_1 check failed

岁酱吖の 提交于 2020-05-25 06:15:53
问题 I have a problem with Android Studio, when I run AVD on the event log information it always says 11:17 Emulator: VK_VERSION_1_1 check failed: vkBindBufferMemory2 not found 11:17 Emulator: VK_VERSION_1_1 check failed: vkBindImageMemory2 not found 11:17 Emulator: VK_VERSION_1_1 check failed: vkGetDeviceGroupPeerMemoryFeatures not found 11:17 Emulator: VK_VERSION_1_1 check failed: vkCmdSetDeviceMask not found 11:17 Emulator: VK_VERSION_1_1 check failed: vkCmdDispatchBase not found 11:17 Emulator

Android Studio Emulator: VK_VERSION_1_1 check failed

隐身守侯 提交于 2020-05-25 06:14:10
问题 I have a problem with Android Studio, when I run AVD on the event log information it always says 11:17 Emulator: VK_VERSION_1_1 check failed: vkBindBufferMemory2 not found 11:17 Emulator: VK_VERSION_1_1 check failed: vkBindImageMemory2 not found 11:17 Emulator: VK_VERSION_1_1 check failed: vkGetDeviceGroupPeerMemoryFeatures not found 11:17 Emulator: VK_VERSION_1_1 check failed: vkCmdSetDeviceMask not found 11:17 Emulator: VK_VERSION_1_1 check failed: vkCmdDispatchBase not found 11:17 Emulator

What is a legit .gitignore for a Flutter project that is developed in Android Studio?

泪湿孤枕 提交于 2020-05-25 05:53:05
问题 What is a legit .gitignore for a Flutter project that is developed in Android Studio? This is what I have so far, but when I open up the project in Android Studio I am unable to enable Dart Support or browse the project. #flutter specific .flutter-plugins .DS_Store .dart_tool/ .packages .pub/ build/ android/app/google-services.json .idea/ android/key.properties pubspec.lock doc/api/ #ios specific ios/.generated/ ios/Podfile* ios/Flutter/Debug.xcconfig ios/Flutter/Release.xcconfig ios/Runner