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
0 answers

Execution failed for task ':app:processDebugResources'. -This build error shows up when creating a new project every time

I'm new to Android Studio but I've done some simple projects on my old computer. Recently I installed Android Studio latest version 3.1.1 (build 173.4697961) and I created a new project. After few seconds build failed error view the error It also…
0
votes
1 answer

Why does Android Studio 3.1.1 always display Unresolved reference when I reopen a project for the first time?

I have import info.dodata.mirror.R, I always get the warning information Unresolved reference: R when I reopen a project for the first time, just like the following image. I have to click the menu Build -> Rebuild project to rebuild the project, or…
HelloCW
  • 843
  • 22
  • 125
  • 310
0
votes
1 answer

live ads are not showing after publish app in Google Play Store

We developed app in Cordova and we used "Cordova-plugin-admob-free" plugin (https://github.com/ratson/cordova-plugin-admob-free) for admob ads. it's showing google test ads perfectly. but it does not showing live ads even after published. We also…
Swapnil Tandel
  • 94
  • 1
  • 12
0
votes
1 answer

Android emulator screen size is not same as preview screen

As you can see in below image, I wrote a sting of numbers and their appearance on emulator screen and Preview of Studio is different. On emulator screen on left, I have marked the space with red color, but if you see on the Preview window on the…
MrEyebr0w5
  • 37
  • 7
0
votes
0 answers

Getting jaxb-api-2.3.0.jar on android for MOXy jaxb

i am trying to get eclipseLink MOXy running on android (Android 7). But every time i try to add "jaxb-api-2.3.0.jar" as an Dependency i get this huge Error message: Error:Execution failed for task…
0
votes
2 answers

Error:Unknown host 'proxy.ssn.net'.in Android studio while loading a project

While loading project in android studio 3.1, build failed with error message "Unknown host 'proxy.ssn.net'. You may need to adjust the proxy settings in Gradle.". After adjusting the proxy settings in gradle also it didn't solve my issue.
livemaker
  • 464
  • 1
  • 9
  • 19
0
votes
1 answer

Cordova build (Android SDK Platform 26, Android SDK Build-Tools 26.0.2)

I'm trying to build an APK using cordova. I started off by doing: 1) sudo npm install -g cordova 2) cordova create app com.example.hello app 3) cordova platform add android Then I used: cordova requirements which gives this output: Android…
user2648117
0
votes
1 answer

How to restrict user's view only to an island in a country?

My project is to make a map app of the Siquijor island from the Philippines for tourists, and I want the app to only show the island. The only coordinates I could find are 9.1999° N, 123.5952° E. I dont know how to implement these coordinates…
Exc3m1206
  • 19
  • 4
0
votes
1 answer

Android Studio can't build a fresh Project

Iam completly new to Android Studio. I did a fresh installation, but i cant even build a fresh Project. Java RE and JDK are also installed. FAILURE: Build failed with an exception. What went wrong: Execution failed for task…
0
votes
1 answer

unable to install signed apk or build apk - showing "App not installed dialog" - "android-P"

I am facing an issue in installing(build or signed) apk in the device showing "App not installed". It's working fine previously, after updating my build tools to "3.1.0" and compile SDK to "android-P" facing this issue, If I downgrade to "26",…
0
votes
2 answers

Insert data manually into sqlite tables programmatically

How do I input/insert data into sqlite database programmatically. I've search for similar questions but all I see is using cmd or SDK tools to do it. This is my main activity:- public class MainActivity extends AppCompactActivity { @Override public…
Brendan
  • 910
  • 1
  • 14
  • 32
0
votes
3 answers

Android create specifc Layout (only XML)

I am new to XML and wanted to create a simple start page of a game. First I startet with the Android Studio 3.0 Layout maker and came up to something like this(second image). The biggest problem is to get the 3 ImageButtons on the bottom right.…
Tim Jansen
  • 55
  • 1
  • 7
0
votes
1 answer

Android studio could not build and run in my windows 7 OS

I am newbie for android development :) Install android studio from https://developer.android.com/studio/index.html. After install i start develop sample application which is available in android studio website, after complete that sample project i…
0
votes
1 answer

Android Studio 3.1 not showing logs properly

I am using Android Studio 3.1 for Android Development and it is not showing logs properly. See the image below for more details: In the above screenshot i am currently running app on an emulator. Only 2 lines in the logs are of the app that is…
0
votes
2 answers

Java.utils.cuncurrent.ExecutionException: java.lang.RuntimeException:no server to serve request. Check log for details

How to fix this error. I am using android studio on my phone using Linux deploy and Ubuntu. Installed open jdk not oracle jdk. This error comes when building apk. Before that gradle build is successful. Log is too big i don't know where to start…