Tagged Questions
Android Studio is an IDE targeted at Android development, based on IntelliJ IDEA.
0
votes
0answers
4 views
SVN update issue on Android Studio, No versioned diretories to update was found
Yesterday I started an android project on my work, then imported it to a subversion repository on assembla.
In my home, I did a checkout then worked on the project too. Before sleep, I did a commit.
...
-1
votes
0answers
13 views
Error while trying to play video on android
I have used a videoview on my main xml (with a relative layout) and tried to play an MP4 video (via instantiating a MediaPlayer and ...), but the program says: this video can't be played.
When I ...
0
votes
1answer
5 views
Execution failed for task: ':app:preDexDebug'
I am experiencing that famous ':app:preDexDebug'-error.
First of all: Cleaning the project or rebuilding it works without errors.
Under default settings I set the project bytecode version to 1.7 and ...
1
vote
1answer
9 views
Android Studio: Multiple APKs for Multiple Modules
In Android is there a way to generate signed APKs for all modules in a project.
E.g. I have following project
Project
-- Library Module
-- Module 1
-- Module 2
-- Module 3
I want to ...
0
votes
0answers
7 views
Generate Jar File Android Studio
I want to build a library from an Android Library Module. I know how to do it from a Java Library Module but I can't do it that way.
Also I want to select only some classes of my project to create ...
-1
votes
0answers
6 views
Google Maps Android API kml file
I'm developing an app where i need to know how to add kml file by using google maps android API . I'm using android 4.4.2, google maps android v2 and direction api. My problem is that i didn't find ...
0
votes
0answers
3 views
Android studio CPU Usage performance tool-understanding the trace
I updated my android studio to version 1.2
Android studio 1.2
Performance tools: The memory usage window is now included as a tab in the Android runtime window, and there is now a tab for graphing ...
0
votes
1answer
9 views
Gradle DSL method not found: 'packageNameSuffix()'
I have a problem with the Gradle in Android Studio
Error :
Error:(37, 0) Gradle DSL method not found: 'packageNameSuffix()'
Possible causes:The project 'FilHarmonie' may be using a version of ...
-1
votes
1answer
16 views
How to import a sample from a library on github into android studio
I'm going to migrate to android studio.
I would like to use this library :
https://github.com/alexvasilkov/FoldableLayout
I followed below link steps to import this library :
...
0
votes
0answers
3 views
how to add custom view to palette in android studio?
i made custom view which extend textView with this constractors :
// Default constructor override
public AutoResizeTextView(Context context) {
this(context, null);
}
// Default constructor when ...
1
vote
0answers
16 views
How to change andorid studio Operation language
I am a Chinese, and I can't get used to the android studio's default language. I know the key to this question is the resources_en.jar file.
I have unzipped the package. But I don't know what to do ...
0
votes
4answers
59 views
i am getting java.lang.NullPointerException when trying to check internetConnection?
this is the error i am getting
03-25 12:11:15.019 21907-21907/np.com.tester.wlms E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: np.com.tester.wlms, PID: 21907
...
0
votes
0answers
21 views
Android Studio Errors
My Android Studio was working perfectly, Suddenly it Start Behaving as it is having issue in JDK, I have wasted a lot of time to Solve this Problem and til frustration. I am new to StackOverflow and ...
0
votes
1answer
17 views
why my native library is not loaded?
I am trying a native code project in Android Studio, and I get the following error. But I don't know why the loader is looking in that directory. Or why the folder is called ...
0
votes
0answers
16 views
how to improt external library and sync them in android studio
I have a library coding in eclipse named toolkit.It is easy to share the code and modify the toolkit library project in eclipse.But i found it difficulte to sync modifications of my toolkit in android ...
0
votes
0answers
20 views
“Unable to run mksdcard SDK tool” Install Android Studio, Error
I try to install Android Studio but I get "Unable to run mksdcard SDK tool".
I read about this issue here: 32-bit libraries on Linux but there are solutions to Ubuntu and I try it but it don't be fine ...
0
votes
0answers
7 views
Android Studio threaded debugging
I've been having trouble debugging a multithreaded app with Android Studio 1.1. It seems as if when a breakpoint is hit all other threads also stop, not just the one with the breakpoint. I created a ...
0
votes
0answers
10 views
How can we export the formatted code in Android Studio to be able to read it from anywhere?
I would like to do it so I can simply read it on my phone and take notice of mistakes while I'm on the go to correct them later when I get back to my computer. Is there an easy way to do this (or ...
0
votes
1answer
16 views
Importing jar into androidstudio project
Currently i'm getting this error:
UNEXPECTED TOP-LEVEL EXCEPTION:
com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000)
at ...
0
votes
1answer
23 views
Cant remove Title Bar Android app
Have big problem removing the Title Bar with Settings button.
When i try to remove it with code : android:theme="@android:style/Theme.NoTitleBar.Fullscreen"> or similary i get App crash.
...
-3
votes
1answer
13 views
How to use BlurDialogFragment
someone can tell me how to import and use this library in Android studio?
It doesn't work if I only add the dependencies in build.gradle
https://github.com/tvbarthel/BlurDialogFragment
Thanks
0
votes
0answers
19 views
How do I build a library into a .jar with Android Studio 1.1?
In the docs, it says:
Note: You need SDK Tools r14 or newer to use the new library module
feature that generates each library module into its own JAR file.
I have the latest SDK Tools, so I ...
-2
votes
1answer
17 views
General approach for creating a Yelp-like app for Android OS [on hold]
I want to create an app on the lines of a restaurant discovery app such as Yelp or Urbanspoon that detects my current location using GPS co-ordinates and once that is retrieved it finds different ...
0
votes
0answers
11 views
Update Android Studio 0.9.9 to 1.x.x possible?
I am having problems updating Android Studio from 0.8.4 to 1.x.x (currently 1.1.0)
The first thing I did was to update on the beta channel to 0.9.9
This worked quite well (after applying a change on ...
0
votes
1answer
46 views
Unable to run mksdcard SDK tool ubuntu
having an error trying to install android studio on Ubuntu keep getting this error in the set-up wizard
"Unable to run mksdcard SDK tool."
also in the terminal i get this:
[ 115528] ERROR - ...
-1
votes
1answer
21 views
Android studio emulator is very slow even after installing intel HAXM
my pc has 8 gb ram, intel i5-4rth gen , 2 gb nividia card.
win 7
my emulator of API 21 is very slow and laggy even after installing intel HAXM manually.
I have done everything that has been ...
0
votes
0answers
21 views
Android Studio - Unfortunately <app> has stopped - savedInstanceState is always null
I'm new to developing in Android. I am implementing a Swipe View and when I try to swipe between fragments the app crashes. The error is "Unfortunately has stopped". I've noticed in Debug that ...
1
vote
0answers
19 views
an android quiz with SQLiteOpenHelper doesn't show new questions when I delete the old ones and add new ones
I'm doing an android quiz and I'm using SQLite to have a local database. Even if I have changed the questions to be displayed, same old questions keep getting displayed.
private void addQuestions()
{
...
0
votes
0answers
13 views
Why must I Run my Android App to generate an APK file
I am using Android Studio 1.1.0 to build an APK for internal distribution in my company using AirWatch.
My understanding of how to build an APK is to go to the "Build==>Make Project". However, when ...
0
votes
1answer
18 views
How to play sound using path data from SQLite Database
I go little problem and maybe you know what i can do. I got database and one of the column is RECORD_PATH, in this column i want to store path for my sound and use it on Media Player.
Right now I ...
0
votes
0answers
6 views
Display data from sqlite database in customlistview
I dunno how to assign the database data in to the customlistview format because it want String but my database data is in List format.
This is my database code and customlistview.
Execute class
...
0
votes
1answer
20 views
Ui Automator 2.0 project in Android Studio
I want to set up a project in Android Studio. However, I don't want an Android App, just the test project.
Following the lastest release of UiAutomator, I was trying to set a class extending ...
0
votes
1answer
22 views
Android - Access Async task objects from app's caller class
I have an app with a Java Servlet backend running which returns to the Client a String representing a json format object serialized with Gson; it works fine but apparently I'm unable to access the ...
-5
votes
0answers
15 views
Android Code for Students Performance Tracker [on hold]
I want a android application like students tracker with email and sms facility
Admin can create Students and enter attendance, marks, extracurricular and marks.
When a last of week this can ...
0
votes
2answers
29 views
Android “UNEXPECTED TOP-LEVEL EXCEPTION”
For some reason my project stopped working. When I try to run it I get the following error:
Error:Execution failed for task ':app:dexDebug'.
> com.android.ide.common.internal.LoggedErrorException: ...
-4
votes
1answer
31 views
Retreive a date from sqlite database in android studio
I've used the following code to create a database
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
public class ...
0
votes
0answers
6 views
ViewFlipper Arrangement
i have a viewflipper like below
<ViewFlipper
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/ViewFlipper">
<ImageView
...
0
votes
1answer
16 views
Android Studio Gradle Build error - specified for property 'manifest' does not exist
I think I have a minor problem with my Gradle build files in Android Studio. Since I have no experience with them, and the few research results didn't resolve my problem, I think, that some of you ...
0
votes
0answers
15 views
Android Studio SDK Manager won't open
I'm trying to open the SDK Manager in Android Studio, but everytime I get an error. The first time I open it, I see a progression bar which completes. But nothing opens. If I try again I get this ...
0
votes
1answer
17 views
Android studio dont run an updated app version
Few weeks ago I finished develop a new app in android studio.
I moved the project folder into a hard-disk, formated my computer and download android studio again.
I have opened the project and run it ...
0
votes
1answer
11 views
Sudden appearance of action bar in android studio 1.1.0
Anyone who have experience this? My Android studio updated from 1.0.1 to 1.1.0. When i open my existing application , it was corrupted ( URI are not register error appears, java sources cannot be ...
0
votes
0answers
15 views
Execution failed for task ':app:packageAllReleaseClassesForMultiDex'
I am getting this error when generating APK from Android Studio 1.1.0
I have added the following jar files:
android-support-multidex.jar aspectjrt-1.7.3.jarandfmmr.jar
google-api-client-1.19.1.jar ...
0
votes
0answers
23 views
Is It possible to edit graphically an XML with custom objects?
everytime I put a custom object in my views, the XML editor said me that It can't render the view, so I have to edit it programmatically (on the XML).
Is there a solution to this?
I think the 90% of ...
-4
votes
0answers
37 views
How to make an andriod app [Beginners] [on hold]
I need to make an Andriod application for my school project. The problem at the moment is that I don't know how to connect Andriod Studio with Mysql. What is the easiest way to connect those 2 ...
0
votes
1answer
16 views
How to share a module as library on GitHub
I create a module (as library) inside a project and I would like to share it on GitHub instead of creating jar and sending it always when I change this library.
Is it possible to do in Android ...
-3
votes
1answer
24 views
Android Studio : Code is not running [on hold]
I am trying to use Google Maps in my android app
I don't know why the code is not running.
Even when I use break points, I get "No executable code"
What is the reason behind that and how to make my ...
0
votes
0answers
9 views
I'm getting this error when I run android studio
Config path C:\Documents and Settings\NOWLI.AndroidStudio\config is invalid. If you have modified the idea.config.path property please make sure it is correct, otherwise please re-install the IDE.
-1
votes
1answer
23 views
Error while I'm trying to emulate project on Android Studio
I'm getting this error when I try to run on emulator:
03-24 11:42:49.843 1120-1120/com.mindrain.touchbreak E/AndroidRuntime﹕ FATAL EXCEPTION: main
...
0
votes
0answers
9 views
error while importing observable scrollview lib
I have a sample application in android studio.
I downloaded observable scrollview lib from github and imported it to that sample project.
After importing while doing build->make project, getting ...
-1
votes
0answers
16 views
Android Studio giving error on launching andoid app
I am working on an LibGDX based android app. everything is working fine but suddenly due to power cut my system shutdown abruptly. After restarting it back I am the uploading index dialog start ...