Questions tagged as 'android-studio'

1
answer

Counter in RecyclerView updates the TextViews of all rows

public class RecyclerViewAdapter_Restaurant extends RecyclerView.Adapter<RecyclerViewAdapter_Restaurant.mealViewHolder> { private List<Meal> mealList; private LayoutInflater mInflater; private Context mContext; private int cantidadCom...
asked by 21.04.2017 / 18:11
1
answer

Problem when scanning Wifi networks in Android Studio, it does not show me the SSID

I am using the following code but it does not show me the BSSID in the list of Wifi networks, public class MainActivity extends AppCompatActivity { ListView lv; WifiManager wifi; String wifis[]; WifiScanReceiver wifiReciever; @Override protec...
asked by 27.07.2017 / 08:31
1
answer

How to decrease memory consumption in Android App

Hello friends, I have a question for you. I have an android app which basically are two activities the main_activity and a details activity . The first has a recyclerView with elements and when I touch one I enter the activit...
asked by 16.06.2017 / 18:37
1
answer

Android DELETE_FAILED_INTERNAL_ERROR [duplicated]

Hello, I am developing an application, I have the error DELETE_FAILED_INTERNAL_ERROR when executing the project on another computer to keep moving forward. These messages are what they show: DELETE_FAILED_INTERNAL_ERROR Error while Installi...
asked by 18.04.2017 / 03:33
1
answer

problem with import com.google.android.gms

I want to use the Google Maps API but I can not import the following, because it marks everything I want to import as unknown: import com.google.android.gms.maps.CameraUpdateFactory; import com.google.android.gms.maps.GoogleMap; import com.goo...
asked by 12.04.2017 / 03:43
1
answer

Fragment with drawermenu in the action toolbar

The problem is the following I have my main activiy that is composed of a drawer activity when I give to one of the options of the drawer activity I have to pass to a fragment , the problem is the following when I pass to fragmen...
asked by 14.04.2017 / 22:19
2
answers

problems implemented BottonBar

Hi, I'm trying to implement a BottonBar , it's already in my xml file it shows perfectly in the activity the problem is. To add the functions android studio does not recognize me setOnNavigationItemSelectedListener This is the co...
asked by 01.05.2017 / 01:32
1
answer

Error running Android Studio APP

When trying to run my APP with Android studio, I get this error Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. > com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry...
asked by 31.03.2017 / 09:46
1
answer

error compile 'com.android.support:appcompat-v7:25.3.0'

This is my build.gradle: apply plugin: 'com.android.application' android { compileSdkVersion 25 buildToolsVersion "25.0.2" defaultConfig { applicationId "com.example.oscar.myrecyclerview" minSdkVersion 21...
asked by 28.03.2017 / 16:23
1
answer

Error generating APK in Android Studio

Trying to generate the APK generates the following error: Warning:Exception while processing task java.io.IOException: proguard.ParseException: Expecting java type before 'com.jakewharton:butterknife.**' in line 1 of file 'C:\Users\unicorn\Doc...
asked by 27.03.2017 / 20:31