Questions tagged [android-studio-3.0]

Use for questions about using Android Studio, an official IDE targeted at Android development. Do NOT use for questions about programming for Android in general; instead use [android].

Android Studio is the official IDE for Android development, and includes everything you need to build Android apps.

For more updates about Android Studio 3.0 check out these videos

  1. AS 3.0
  2. Java 8 support
  3. The new Profiler
1629 questions
0
votes
1 answer

Java programming in Android Studio 3.1

How can I write a Java program in Android Studio version 3.1? Can I import any java project from eclipse to Android Studio?
AmirReza
  • 173
  • 1
  • 6
  • 16
0
votes
2 answers

How I use Urdu in my android project.

want to make an android application on Islam.... just want to add Urdu in my project as in this picture
0
votes
1 answer

Android Studio - Probably the SDK is read-only - error persists

Have been developing android apps using Microsoft Visual Studio and now installed Android Studio. Pretty much anything I try to do, like creating a new app, installing support for a new API level, etc, is getting held up by the same thing - error…
Sameer M
  • 21
  • 1
  • 5
0
votes
0 answers

Android Studio: App stops working after login

So I am new to Android Studio and still learning. I am trying to create an application that allows the user to connect with his facebook and once he is logged in, he can move on to the profile page. his facebook UserID in the below example is passed…
0
votes
2 answers

android studio cannot build and run the project The file is too large

My app is for view images When user click on next button show next image or back button show the previous image, the problem started When I tried to run the project I see some error about images size "The file is too large; 80.83M. Showing a…
Dr Mido
  • 2,414
  • 4
  • 32
  • 72
0
votes
0 answers

How to Run Activity in Tabbed Activity

Assume there is a quite complicated open source Android Application. What I want to do is: to make a brand new Tabbed Activity inside the application and call/run an activity of the app in each tab. The called activity should run under the tab as if…
Xfce4
  • 557
  • 5
  • 28
0
votes
1 answer

Update TextView with WiFi Signal Strength. Android Studio. Writing in Java

I am getting several errors and can't discover which is causing the problem. Errors: Cannot resolve symbol Unexpected Token (while loop) Unknown class "x" How can I set the textView to display the wifiSignal strength? Sorry for not narrowing down…
0
votes
2 answers

How to Change Labels in different Android Screens using AndroidManifest.xml

enter image description hereI tried with below code, but the labels of different screens are missing and not visible in User Interface and Can you tell me how to solve this issue
0
votes
2 answers

attributes of widgets are not showing in android studio

my android studo 3.0.1 is not showing attributes of any widgets (e.g. textview, edittext, button, etc) I have saw the post here same problem but file->invalidate and restart didn't solved my problem. Can someone please help me what is the solution?
0
votes
2 answers

How to auto import import kotlinx.android.synthetic.main.xxx for activity

Kotlin comes with the powerful feature for view binding using import kotlinx.android.synthetic.main.activity_main.*. I also know that Android Studio is powerful and flexible for customization. In order to use view binding, we need to include…
0
votes
1 answer

Deleting title of alertDialog using style.xml in Android Studio

I'd like to delete "Taboo", which is the title of my alertDialog!! How should I do that??? Additionally, could you give a tip of expanding the size of alertDialog also?? This is my style.xml
Jerry.Kwon
  • 11
  • 1
0
votes
1 answer

Android Studio emulator - Takes ages to boot and system ui crashes each time

I am using the android emulator within Android Studio and have tried lots of different devices. It takes 5 minutes plus to cold boot the first time and then the system ui crashes each time. After waiting for it the emulator is extremely slow. Quick…
Sam D
  • 1
  • 1
  • 3
0
votes
2 answers

How to use onBackPressed() in Fragment and Activity?

I'm creating LoginActivity-> OtherActivity-> Fragment 1-> Fragment_2. When I click Back Button I'm back in Fragment_1 when again I click BackButton I'm in LoginActivity why? I want come back to MainActivity after the click BackButton in Fragment _1…
SpeedClimber
  • 29
  • 1
  • 7
0
votes
0 answers

How to open "Type Declaration" in current window?

When I'm clicking on At Keymap there is the action Type Declaration Ctrl+ Shift + Button1 Click When I'm clicking on any variable with Ctrl + Shift + Button1 Click the class file opens in new window. How to prevent opening it in new window, but…
NickUnuchek
  • 11,794
  • 12
  • 98
  • 138
0
votes
0 answers

Set Condition (less than size) but still index out of bound

I am very confused by this. I set the condition "if (mSecondCount < mUsedItem.size())" but still received index out of bound exception. The line that exception is pointing at is "if (mUsedItem.get(mSecondCount).getItemNum() == 5)". And these codes…
Dexter.Z
  • 13
  • 1
  • 4