android-studio

Android Studio cannot run the Xcode Simulator

放肆的年华 提交于 2021-01-28 00:11:24
问题 I am trying to simulate my Flutter app with the Xcode iPhone Simulator and I get this error. Before upgrading Android Studio and Xcode it was working fine. Launching lib/main.dart on iPhone X in debug mode... Starting Xcode build... Xcode build done. Failed to build iOS app Error output from Xcode build: ↳ ** BUILD FAILED ** Xcode's output: ↳ error: Multiple commands produce '/Users/User/AndroidStudioProjects/my_app/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/Flutter.framework': 1)

Why my FileProvider not works in android studio

北城以北 提交于 2021-01-27 23:53:13
问题 https://developer.android.com/training/camera/photobasics.html res/xml/file_paths.xml <?xml version="1.0" encoding="utf-8"?> <paths xmlns:android="http://schemas.android.com/apk/res/android"> <external-path name="my_images" path="Android/data/com.apsm.package.name/files/Pictures" /> </paths> I tried first with this Manifest (Old Android Manifest): <provider android:name="android.support.v4.content.FileProvider" android:authorities="com.example.android.fileprovider" android:exported="false"

What is the reason behind “unresolved reference” when using kotlin for FacebookLogin?

只愿长相守 提交于 2021-01-27 20:00:27
问题 I keep getting a "unresolved reference: FacebookCallback" error when I am trying to implement the code attached in the picture. I am trying to set up facebook login as instructed in this link: https://developers.facebook.com/docs/facebook-login/android#addbutton I am new to Kotlin but I can't see what I'm doing wrong here. EDIT: Here are my gradle files: apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'com.neenbedankt.android-apt' android {

How to generate an IOS IPA in windows using Android studio for a Flutter app?

旧城冷巷雨未停 提交于 2021-01-27 14:50:35
问题 I am new to this flutter based app creation. Now I successfully created one sample app in my windows system android studio with flutter plugin that app also running successful. OK, now I want to generate the IPA app for the same application. I don't know how to generate the IPA for IOS device in using android studio? anyone help me please.. I am using windows 10 system and my android studio version as 3.4.2 I want to generate .ipa file in android studio, like how i generate .apk file in

Cannot find MainActivity.java in Android Studio [closed]

孤人 提交于 2021-01-27 14:44:25
问题 Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . Improve this question I am currently writing an Android App using Android Studio 1.2. However, i cannot find MainActivity.java file in it. Hope someone can help me out. Thanks in advance. Regards, Al 回答1: Its not necessary that your file is named MainActivity.java. That is the

How to generate an IOS IPA in windows using Android studio for a Flutter app?

非 Y 不嫁゛ 提交于 2021-01-27 14:40:22
问题 I am new to this flutter based app creation. Now I successfully created one sample app in my windows system android studio with flutter plugin that app also running successful. OK, now I want to generate the IPA app for the same application. I don't know how to generate the IPA for IOS device in using android studio? anyone help me please.. I am using windows 10 system and my android studio version as 3.4.2 I want to generate .ipa file in android studio, like how i generate .apk file in

TextUtils.isEmpty checks for null but lint doesn't recognise

天大地大妈咪最大 提交于 2021-01-27 14:30:11
问题 In the Android studio whenever I proceed with TextUtils.isEmpty check, the lint shows the argument might be null. It doesn't make sense as isEmpty will check for nullability. Is there any way to resolve this issue without using asserts. P.S. ImageUtils.getWidth accepts aspectRatio as null hence no lint warning there. 来源: https://stackoverflow.com/questions/55635564/textutils-isempty-checks-for-null-but-lint-doesnt-recognise

Flutter doctor: Flutter and dart plugins not installed

匆匆过客 提交于 2021-01-27 11:41:43
问题 This is problem, I have already installed flutter and dart plugin but its showing I haven't , I freshly installed both android studio and flutter as I just started it Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable`enter code here`, on Microsoft Windows) [√] Android toolchain - develop for Android devices (Android SDK version 30.0.3) [!] Android Studio (version 4.1.0) X Flutter plugin not installed; this adds Flutter specific functionality. X Dart

Flutter doctor: Flutter and dart plugins not installed

霸气de小男生 提交于 2021-01-27 11:40:52
问题 This is problem, I have already installed flutter and dart plugin but its showing I haven't , I freshly installed both android studio and flutter as I just started it Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable`enter code here`, on Microsoft Windows) [√] Android toolchain - develop for Android devices (Android SDK version 30.0.3) [!] Android Studio (version 4.1.0) X Flutter plugin not installed; this adds Flutter specific functionality. X Dart

How to remove single module from the jar file in gradle Android Studio

╄→гoц情女王★ 提交于 2021-01-27 11:39:52
问题 How can i remove the single package from the jar file. I have two SDK's from diffent vendors and both the SDK's have google.gson package included in the jar files, because this causing me the issue in running a build in android studio it shows the error in image below i know how to exclude the modules from the repository like this: compile('com.android.support:design:23.1.1') { exclude module: 'support-v4' } but i don't know how to exclude some package from the jar file that i need in my