Questions tagged [android-studio-2.0]

Android Studio is the official IDE for Android application development. In version 2.0 it is based on IntelliJ 14.

Android Studio is the official IDE for Android application development, based on IntelliJ IDEA. On top of the capabilities you expect from IntelliJ, Android Studio offers:

  • Flexible Gradle-based build system
  • Build variants and multiple apk file generation
  • Code templates to help you build common app features
  • Rich layout editor with support for drag and drop theme editing
  • lint tools to catch performance, usability, version compatibility, and other problems
  • ProGuard and app-signing capabilities
  • Built-in support for Google Cloud Platform, making it easy to integrate Google Cloud Messaging and App Engine
  • And much more

Reference: https://developer.android.com/tools/studio/index.html

In version 2.0 it is based on IntelliJ 14.

347 questions
0
votes
1 answer

No resource identifier found for attribute '' in package Android Layout

I have the following layout in Android Studio 2.1
Mitch
  • 1,716
  • 3
  • 25
  • 41
0
votes
1 answer

Why is Android force-stopping my app without any error?

I am trying to run my Android app, it was working normally, but now when I try to run my app (com.ulouder.ulouder), I'm getting: 04-30 08:58:58.539 7683-7683/com.ulouder.ulouder I/System.out: debugger has settled (1475) 04-30 08:58:58.544…
0
votes
3 answers

How change a textview from a fragment on android studio

I am having a problem. I have an activity that implements several fragments. Now I need to update a textview of one of the fragments, I have the string in the activity, so I need to pass this string to the fragment and update that textview.…
0
votes
5 answers

How to check data in SQLite if already exist update or else insert in android

I want to check the data in SQLite if already exist can update or else insert.I am checking code like this what i mentioned below. Code: public long addmenus(String navigationdrawer,String optionname) { SQLiteDatabase…
0
votes
1 answer

Android Studio 2.1 update conflict

I am getting conflict while updating Android Studio 2.1 as below: After updating 60-70% I got this error. It has removed studio-64.exe automatically So I have copied from another copy of Android Studio. Why it is so? Any Solution? Now what can I…
Pratik Butani
  • 60,504
  • 58
  • 273
  • 437
0
votes
0 answers

Update for Android Studio from 2.0 preview 4 to 2.0 increases apk size

Recently I have updated Android Studio from 2.0 preview to 2.0 stable version. I realised that after this update my app's release apk size changed from 6MB to 14MB. Anyone have any idea why this is happening and what is the solution to reduce apk…
0
votes
1 answer

How to set the about page library in android studio

I am trying to set the about page library with compile 'com.github.medyo:android-about-page:1.0.2' But I am getting a run time error I have set as it is given in the github here is my java code: import android.os.Bundle; import…
0
votes
0 answers

Android Studio 2.0 Upgrade Issue

I upgraded to Android Studio 2.0 and for some reason cannot resolve this issue Error:Could not find com.android.support:appcompat-v7:23.3.0. Required by: Code:app:unspecified Please install the Android Support Repository from the Android SDK…
0
votes
2 answers

How to use SDK-specified code blocks

very new to Android programming. Despite of all my search I couldn't find how to write SDK specified code blocks in Android Studio. For example, as far as I learnt so far there are different types of Notifications depending on the target SDK…
Roni Tovi
  • 828
  • 10
  • 21
0
votes
1 answer

Invalid incremental change record with Android Studio's Instant Run

When building my app I get this error: Error:Execution failed for task ':app:transformClasses_enhancedWithInstant+reloadDexForDebug'. java.io.IOException: Invalid incremental change record : CHANGED,C:\Users\gingo\Documents\Dropbox (SKOUMAL,…
gingo
  • 3,149
  • 1
  • 23
  • 32
0
votes
2 answers

Null object reference when initializing spinners in tablayout

I have multiple tabs with spinners in them, and when you switch to a certain fragment the sliders need to be initialized with their corresponding string-arrays. The issue is that I keep receiving a "null object reference" error. here's my…
lehermj
  • 916
  • 4
  • 9
  • 20
0
votes
1 answer

java.lang.RuntimeException: Manifest merger failed : uses-sdk element cannot have a "tools:node" attribute

I am getting this error again and again Error:Execution failed for task ':quickScroll:processDebugAndroidTestManifest'. > java.lang.RuntimeException: Manifest merger failed : uses-sdk element cannot have a "tools:node" attribute I tried using…
0
votes
1 answer

Sync with Gradle for project 'HelloWorld' failed: Exception thrown while executing model rule: NdkComponentModelPlugin.Rules#createNativeBuildModel

I have just upgraded Android Studio to version 2.0 and am getting the following error message Sync with Gradle for project 'HelloWorld' failed: Exception thrown while executing model rule: NdkComponentModelPlugin.Rules#createNativeBuildModel The…
beaumondo
  • 4,862
  • 7
  • 29
  • 42
0
votes
1 answer

How to display gridview Images in Tabs fragment

I am trying to make a tab where I have to display images in gridview, so I made normal tabs from one of the library and made an adapter to display the images in my main activity code. class TestAdapter extends FragmentPagerAdapter { public…
0
votes
1 answer

Why customizing my simple_list_item_2.xml doesn't work?

I have the following code in my MainActivity.java file in Android Studio. public class MainActivity extends AppCompatActivity { private String TAG; @Override protected void onCreate(Bundle savedInstanceState) { …
Kemat Rochi
  • 932
  • 3
  • 21
  • 35