I am doing my first tutorial from Android Studio and I dont have tools like a man did https://www.youtube.com/watch?v=gu41h6EvTPw 6:35
I mean those android tools like activity etc
photo
Did you wait for Gradle to finish and downloaded all updates for Android Studio? Some basic features are blocked when you open project and are still being processed by Gradle.
After Gradle build finished, if not fix do this:
At the top of files list, left side, click on Project
Then click on Android
Related
I have a Flutter project where, all of a sudden, without me doing anything special as far as I can remember..the Android side has started to show an error, and I am totally lost, I have no idea at all of what is wrong or why that happened.
That is what I see when I open the android folder, the MainActivity on the flutter project on android studio:
I have tried calling flutter clean, restart/invalidate cache, gradle clean...and so far nothing works.
The weird thing is that the project actually runs in the emulator without any problem. And also, if I open the Android part independently on Android Studio i don't see any error.
Anyone had that before?
Android Studio version 3.3.1
Solutions of this answer do not work.
** ----- NOTE ----- **
The problem here can be (not sure at all maybe someone else can help here) that I am using a flutter package called ImagePicker, which after some code investigation, it turns out that it is using some AndrodX imports....and...as far as I am aware of...Flutter is not yet compatible with AndroidX.
But i need someone else to confirm that in order to post a solution.
This error is not really an error. This happens because android studio is set to read and edit dart not java. In order to edit the android side of a flutter project, you need to click on the android folder -> go to the flutter option -> click 'open in Android Studio'.
This will then allow you to edit the android side of your project.
Set Configure to the Android project SDK of flutter application
Step by Step
Click on File -> Project settings then select appropriate API level as per your project will solve your issue
This is an image of the situation:
I downloaded IntelliJ IDEA, JDK, and SDK Android for use. But I can't create an Android project because the windows shake everytime I try to create an activity or when I click "next".
I've tried to download another IntelliJ, I tried create other activity (no activity too but on start it shakes, too). I've searched for the solution here and on other sites, but I did not find it.
I think I won't have this problem if I would download Android Studio. But I want to know what is happening.
Same here. I faced this issue for the MacOS version of IntelliJ. I think I found a temporary workaround to this. After installation of IntelliJ and running it for the first time, configure JDK and Android SDK by selecting configure default project settings at the bottom right of the splash screen dialog before you attempt to create a new Android project
I am working with a Flutter example project where it shows how to share a FlutterView inside an Android application (and iOS also).
While working with it I tried this:
I make changes to the android project like changing the theme color, if I do hot-reload/run for main.dart I don't see the changes reflected in the running app. I have to stop it from Android Studio and run the main.dart again to see the changes.
To solve the issue I was thinking to add a run/debug configuration for Android app module. So that I could run android app and not main.dart.
Is there a way how to achieve this in Android Studio?
One solution for me was to open the android(/flutter_view/android/app) project from a new window in Android studio. I could run the app this way.
(But here I encountered another issue in case anyone has the solution).
According to my understanding you face problems when you open your project and try to run.
Android studio asks you to configure your project to be able to run...
It's easy to solve near to run button you will find "add configuration" button just press then from left side select "flutter" and put in the field "entrypoint" your main Dart file path main.dart...
EX. E:/project/lib/main.dart....
Then from top right corner press "create configuration"...
That's it.
For Configure your Flutter app on Android you have to Upgrade Gradle file..
So Go to the Tool and at you will find AGP upgrade Assistant..
It Download new Gradle file then its Config automatic..
I'm beginner in Android development (but I have developed in Xamarin for Android). I downloaded project from:
https://github.com/zxing/zxing
and I'm trying to start it. I downloaded Android Studio 2.2.3 and opened the project. My Run and AVD manager buttons are grey, so I'm unable to start it. What should I do?
When I click Run -> Run... Edit configuration dialog is shown:
and after choosing it:
my Run button is grey.
At first start a new project and check if Run and AVD buttons work or not.
and also becareful about Red lines in project, because they are error. you have to fix them
First of all you have to create an AVD by clicking on AVD Manager.
Tools > Android > AVD Manager.
I hope this helps.
Looks like you're trying to run a library project. You should create a new project and add this as a dependency and use the library features in your Activities.
ZXing ("zebra crossing") is an open-source, multi-format 1D/2D barcode image processing library implemented in Java https://github.com/zxing/zxing
I am a beginner to android development,I have downloaded adt-bundle-windows-x86_64 with android 4.2 and started the eclipse version(Android developer tools) provided with it.But when I click finish after filling all the details in new android application dialog box,the finish button doesn't seem to respond at all.At the first click on finish button an application is created but no java files in it and the dialog box stays still.At least the android 4.2 library is not in the application.src is also empty.
I'm working with Windows 7 64bit and JDK 1.6 64bit.
Any idea on solving this?
http://developer.android.com/training/basics/firstapp/creating-project.html
http://developer.android.com/tools/help/adt.html
http://www.chhitizbuchasia.com/articles/chhitiz/2011/02/Setup%20Android%20SDK%20With%20Eclipse.html
http://developer.android.com/sdk/installing/installing-adt.html
Cannot create a new Android Project using Eclipse
install android sdk manager
step1
step2
step3
install the following sdk to perform the application
Download ADT plugin
http://developer.android.com/sdk/installing/installing-adt.html#Download
BASIC STEPS
http://blog.teamtreehouse.com/the-one-stop-android-sdk-installer-you-always-wanted
Best Jvm setting
Eclipse is not that much robust IDE.If nothing can solve your issue.try to restart Eclipse and your Computer.
and yes,before restarting just update the packages.
Go to SDK Manager, and install available updates for following packages.
Android SDK Tools
Android SDK Platform-tools
After updating,it will be look like this,
I just got mine past this bug; hopefully yours will fix too?
On the screens with menus to select from, where one item is greyed (selected?) as default:
Deliberately click the item, to ACTUALLY select it (it turns dark blue or something).
Mine apparently got caught up on the "Make activity" (or whatever) page, and until I went back and assumed that the default had failed to select it, I was unable to choose finish (even though it clicked, looked as though it was going to do something, and then didn't go).