Android Development Studio (bumblebee) Kotlin question Suggested Fix not working - android

I'm using Android Development Studio (Bumblebee). When I am developing a Java application, If I have a TextView with hard coded text I see the yellow triangle for Suggested Fix.
When developing Kotlin, with the same TextView hard coded text, I'm not seeing the yellow triangle for Suggested Fix. Does anyone know how to fix this. I'm new to Kotlin and would like to have all of the assistance I can get when learning it.
Also, I'm not having any issue when developing a Java App.
Thanks for the help.

just move the cursor to the position that is marked as warning or error and if you don't see the icon of help then press ALT+ENTER if you are using Windows or Linux or OPTION+ENTER if you are using Mac. this will open the dialog as you usually do with tapping the icon.

Related

Does android studio have live debug like visual studio does and where

i have android studio 4.1.3 and i'm wondering if it has a setting that i can change so i can see debug in real time. I'm currently using visual studio which tells me in console where i'm wrong as i'm typing. I'm typing the code in vs and then pasting into android studio but it's getting tiresome especially if i have a lot of screens. Is there an easy way that i'm missing? And yes i have tried to google the question already so please don't tell me to google.
Unfortunately, android Studio does not currently have a live debug feature.
You do have a debug option on the top right corner of the screen if you need it.
The closest thing to what i was looking for is the "Dart Analysis". It's located at the very bottom next to the "terminal" button. I've tested and i see if i change something, it immediately notifies me in the "Dart Analysis window"

How to show error/warning marks in Android Studio scroll bar (like Eclipse)?

I apologize in advance if it is a duplicate topic, but I did not find a direct answer in any other.
Android Studio does not display marks (on the scroll bar) by referencing error/warning/occurences in the code. Is there any way to make it show?
I have not used Android Studio for a long time and I get lost because in Eclipse this is a basic functionality. So in files with many lines of code it becomes complicated to see the locations of the code where there are errors or occurrences.
In Android Studio it looks like this:
In Eclipse like this:
Is it possible to make Android Studio behave similarly to Eclipse? If not, is there any friendlier way to see the error/warnings/occurrences marks?
Thanks for any help.
Please check the highlighting level. Inspections should be selected...
No highlighting
highlighting now activated

Android Studio is not accepting new project

I want to start learning Android programming and recently downloaded the Android Studio. Now if I want to start a new project, I can't get past this initial screen. Whenever I click next, the window just jerks, which I guess is indicating that I am doing something wrong. So how can I solve this problem?
Note: I am a total beginner but I am genuinely trying to learn and searching the web for the problem didn't give me any solution.
I guess something is wrong with your Android Studio / JDK installation. In the status bar on the bottom, I can see a NullPointerException. I think this is the cause. Try to open the Android Studio Log and hopefully the error is better explained there.
How to find Android Studio Log
Maybe you have unknown characters in your package name like "ı,ö,ü" ? And you may want to watch a android starter tutorial video which has a part about starting a project to see if you are doing something wrong?
If it couldn't be a good answer sorry for it but that's all i can offer :3

Confused with MainActivity.java in android studio

I'm fairly new to java and android studio in general,and I'm trying to follow a tutorial on YouTube on how to make a simple android calculator by Andy York. I made it to part 2 of 2 until he started coding in MainActivity.java, when I noticed that ours were different and that I have stuff like "FloatingActionButton"and "SetSupportActionBar" which he doesn't have and which is confusing because if erase those then everything will mess up. I think it may have been because of an Android Studio update since his video? I'm trying to make everything neat like his but I don't know how. I hope this makes sense and any help would be appreciated. Thanks.
When creating new project in Android Studio use "Empty Activity" template instead of "Basic Activity". The "basic" one does add a lot of things, like a floating action button, which often isn't helpful.
Those are coming because you select a that theme. So, Select the Empty Activity. Then nothing will make problem .

Why is button showing on AVD but not the Designer?

I am very new to android apps, I do mostly VS2013, and I was just trying to do a hello world or anything basic. Why is there a tiny "hello world" on my design for my .xml file, but the button I added shows on the AVD? I'm really confused.
EDIT: To clarify, this is a brand new project. My question specifically is how can I make sure I can see on the design/text tabs what is going to be on my emulator? All I have done is drag/drop from the Palette onto the screen,and see nothing. What should I be doing instead?
The design device is the same as my AVD.
All: The solution was an issue with the rending, and is apparently a bug with the newest version of the Studio. This link I found had the information and solutions to help me with it:
Rendering problems in Android Studio v 1.1 / 1.2

Categories

Resources