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

Sync project across multiple computers - cannot resolve symbol afterwards

I sync my gradle projects to a usb stick and then I snyc two computers with it. Both are used by myself only, I'm just switching machines regularly (home vs work in my case). I often get cannot resolve symbol (mostly with all support v4 classes…
prom85
  • 16,896
  • 17
  • 122
  • 242
0
votes
0 answers

How can I fix issue with android studio 3.0.1 while creating release signed build

Getting error: Error:Error: commons-logging defines classes that conflict with classes now provided by Android. Solutions include finding newer versions or alternative libraries that don’t have the same problem (for example, for httpclient use…
stack Learner
  • 1,318
  • 3
  • 18
  • 35
0
votes
1 answer

In Android Studio 3.0 I am unable to find the layout width of type fill_parent.

In Android Studio 3.0 I am unable to find the layout_width of type fill_parent. I need help that how to access this layout_width type. Any help will be appreciated.
Habib
  • 21
  • 4
0
votes
1 answer

How to Create a button with another button from a popupwindow

I am trying to create an application which when a button from a popup window is clicked a new button will be created in another layout of the same activity. Here is the code for the popupwindow.xml
Waffles
  • 1
  • 2
0
votes
1 answer

Android Studio build tools 26.0.2 error in Ubuntu

I'm using Ubuntu and for installing Android Studio, I downloaded it directly from google (both SDK and Studio), I've got Android Build Tools 27, but when I want to make the project the app shows me an error that says you don't have build tools…
0
votes
1 answer

How can I dynamically create and place a button before a button?

I have learned how to add a button after an existing button dynamically, but is it possible to dynamically insert a button before something? When "+ Add Person" is clicked, it will insert a button in between the very first button and the "+ Add…
TuxForLife
  • 219
  • 1
  • 2
  • 15
0
votes
2 answers

unknown intent-filter error in android studio Error:(104) error: unknown element found

I received an android application code from a friend. When I open this project in my Android Studio v3.0.1, and build the project, Gradle gives error for AndroidManifest.xml on using intent-filter Here are the wording of the error Error:(104) error:…
Ghufran
  • 63
  • 1
  • 2
  • 7
0
votes
1 answer

Android studio 3.0.1 new project: AAPT2 Execution Exception

I created a new project in Android Studio 3.0.1 and during the build process I am getting aapt2 exceptions. Disabling aapt2 is an option but I want to understand why aapt2 is failing to build. Let me know if any additional details are…
solo_assassin
  • 483
  • 4
  • 20
0
votes
3 answers

View Pager is calling other fragments on startup and on swiping too

List of components in my app is following : TabLayout - Tab1, Tab2, Tab3. Fragments for Tabs - Tab1.xml & class, Tab2.xml & class, Tab3.xml & class. ViewPager to show Fragments on tabs. So, when app starts as i debugged the startup process, it…
0
votes
1 answer

The .so file abnormal modified after build in Android Studio

Windows 10 home edition (Chinese) Android Studio 3.0.1 Gradle 4.1 The steps: Create a new project with an android module. In android module, under "/src/main" directory, create "jniLibs/armeabi-v7a" folder, put any ".so" file(s) into it. Build…
0
votes
1 answer

QR Code Scanner result can't be click

I got a problem with my scanner app that I just build using android-studio 3.0. When it scanning, the result url can't be click. MainActivity.java: @Override protected void onCreate(Bundle savedInstanceState) { …
0
votes
0 answers

Another way of instantiating an Object in java?

I am referring to android studio here, because this is where i saw this method of instantiating an object. More specifically while creating an object of Toast class, Toast mytoast =…
steve
  • 125
  • 12
0
votes
0 answers

Android Studio 3.0 Error: unknown element found

So I'm trying to build some kinda scanner application that requires camera permission, I'm trying this at the manifest: and then I got an error like this: Error:(28) error: unknown…
0
votes
0 answers

How to initialize AASSET_Manager on SDL android app

How do i use assetmanager.h from an SDL android app from android studio? Do i have to edit SDL_Activity.java? With what? Calling the functions from assetmanager.h crashes the app. Someone then commented that i need to get the java object or…
3rdhope
  • 19
  • 2
0
votes
1 answer

LIBGDX - How to make the paddle not jumping in pong game?

I am making a Pong game and when I click on the screen the paddle jump to my cursor point. I want that I need to drag the cursor to move him and without jumping like normal Pong game. how can I do this? This is my Paddle class: public class Paddle…
Guy Rajwan
  • 33
  • 1
  • 10