I am starting with Android Studio and generally developing apps. I have seen on some videos how to get the SHA-1 for the firbase but I don't have what the video shows on the gradle console.
enter image description here
But on the videos show this:
enter image description here
What have I have to do to get a gradle console like the video
if you are running android studio version 4.2.1
1.click gradle in right side of your project
2.your project name
3.run configurations
4.yourProjectName[signingReport]
if you are running any lower version
follow this link
Related
I want to manipulate my App's icon using "Image Asset Studio", usually I start it by following these instructions:
1- In the Project window, select the Android view.
2- Right-click the res folder and select New > Image Asset...
so I reach this window:
but for some reason I don't see this option "Image Asset" at the "New" menu.
NOTE: If I create a new project then I can see "New > Image Asset" normally.
Update:
I'm clicking on this directory.
I run this android studio on Ubuntu 18.04:
Android Studio 3.5
Build #AI-191.8026.42.35.5791312, built on August 9, 2019
JRE: 1.8.0_202-release-1483-b49-5587405 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.15.0-62-generic
There is actually an issue filed in GitHub related to this.
In your case, it seems that you treat a Flutter project as a regular Android project. AFAIK, Flutter projects are not Android projects.
So one of the workaround is also available:
open android studio File->Open folder->navigate to your flutter
project and select the Android folder. Wait for it to sync, then
navigate inside the Android studio folder and find the res folder
right click on it and choose New you will see the Image asset studio.
Also take note of this:
don't open the whole project of flutter using Android studio just open
the android folder found inside the flutter project with Android
studio, so the Android studio can treat it as a Android project rather
than flutter project, which will give you all Android features like
the one ur looking for #image asset studio
And you can also check this blog post about changing your Flutter app icons. And this YouTube video. You will only need your desired image for the icon and App Icon Generator.
To summarize what was written in the blog and discussed in the YouTube post, here are the simple steps you need to follow:
Step 1: Visit appicon.co and upload your intended image to convert to icons, select the types you would like to be generated and click “generate”. This will download a zip folder to your system. (You may skip this step if you have all resolutions in place with you.)
Step 2: Unzip the file. You’ll have two folders by the name of “android” and “Assets.xcassets”.
Step 3: Changing icons for Android App.
In your Flutter project, move to android/app/src/main/res which has a lot of folders starting with “mipmap-”. Delete all of them. And replace from your downloaded and unzipped AppIcons folder, everything that’s under android.
if you right click on res folder and Image Asset is not enabled just follow the following steps they are working for me.
File --> Open and select to open android(which is inside your project) in a new window.
Then if you go to the res folder (on the new window) and right click the Image Asset is enabled.
This is the issue i am getting.
Error not rendering issue
i tried all the options available on the web. it is a new installation of studio 3.1.3 and it is happening for every new project as i did not test with any old project as i do not have one.
steps to recreate is to clean installation of android studio 3.1.3 and create a new project. i tried to create multiple projects but same issue.
i tried all the options available on Android Studio 3.1.3 having issues with Constraint layout link but all are failing.
any one let me a studio version name where i will not get this issue. i just wanted to develop a app. and i am not a andriod developer. so these issues are very annoying for me.
Have the same problem. I think it's from Android SDK Platform 28 so I uninstall it, and use Android SDK Platform 27 and it work for me.
To uninstall : Tools> SDK Manager> System setting> Android SDK> Show package detail(little
box on the right below corner)> Put out the check sign from Android SDK
Platform 28 > apply and try new project.
Note : Sorry for bad English.
I've decided to upload my alfa app to google play .....
After harsh strugle with it I passed an automatic test.
And failed in all mobiles .... a simple anko toast was the culprit I remove it
Then I noticed that my 1.2 MB app turned into a mamooth of 18 MB
So I turn to enable minify ... shrink resources and so one in gradle
The next trimed version once upload proveed definitelly slim, in fact allmost everything was removed, so nothing worked.
Whent back to previous one and on the next day I've recived a notification on my android-studio 3 telling me that the Release Candidate 1 was available, read release notes and found
Issue #65519025: Missing classes in APK
Issue #65829618: Incremental builds fail when enabling resource shrinking
apparently I was saved, but no when I click the download button I get a link to my current version, mistakes are everywhere .....
try it
https://developer.android.com/studio/archive.html?hl=en
I found it using this link.
Android Studio cant be updated via delta update. You will need to download entire build from this link
You Can Download Android Studio Preview from following links
Android Studio Preview: Link 1
Android Studio Archives: Link 2
Android Studio 3.0 RC 1
Windows:
Windows (64-bit)
Windows (32-bit)
Linux
Mac
The download link I speculated
windows: https://dl.google.com/dl/android/studio/ide-zips/3.0.0.16/android-studio-ide-171.4392136-windows.zip
mac:https://dl.google.com/dl/android/studio/ide-zips/3.0.0.16/android-studio-ide-171.4392136-mac.zip
I had this problem when updating to Android studio 2.3. The emulator does not work even though my testers are installed. How can I get rid of this fault?enter image description here
enter image description here
If your emulator has Android 6.0 marshmallow then allow required permission by moving your app icon to app info.
hey guys im not new to java but this android studio thing, im definitely not used to it,
so i just want to know what packages/tools i need to download from the sdk manager to get me started (im currently dev' apps to be run on api 2.3 gingerbread devices )
From the sdk manager this is what i did,
i downloaded and installed all the latest android sdk build tools,sdk platiform for 4.4 and 5.0
then i also downloaded the whole 2.3 api 10 since its what i was developing for....
after that when i start android studio,just right in the work space where you see the 'package' menu
i get nothing displaying,i mean even all the api i installed i still get nothing.
anybody who been using this tool can gimme help.thx
kind regards C.B!
When you open SDK manager, right click on the .exe and select
"Run As Administrator".
Don't open it from within android studio, find the exe file on your machine. Worked for me when I ran into that problem.
EDIT: You may need to download the sdk separately form here: https://developer.android.com/sdk/index.html?hl=i
Click VIEW ALL DOWNLOADS and pick the appropriate 'sdk only' download for your machine.