Questions tagged as 'android-studio'

1
answer

How to fix: keytool error Keystore was tampered with, or password was incorrect

When trying to know the Sha-1 fingerprint of the keystore of my studio android project, for production, it is showing me this error, the alias and the passwords are correct: I'm doing it on the console from the location: C:\Program Fi...
asked by 06.04.2018 / 18:23
1
answer

error android studio sdk facebook

I am presented with the following error in android studio when trying to integrate the sdk of android studio this is my code: import com.android.build.OutputFile project.ext.react = [ entryFile: "index.js" ] apply from: "../.....
asked by 30.03.2018 / 20:47
1
answer

Android studio error uses-permission

I'm doing a project in React-native however I had to get involved with android studio to integrate facebook sdk, and it throws me an error: here is the code: <uses-permission android:name="android.permission.INTERNET" /> <...
asked by 29.03.2018 / 23:54
1
answer

call a method from a DialogFragment

As I can call a method from DilogFragment , the problem is that in this DialogFragment I use it to generate a dialog box where I enter two data that is stored in a file until that part I have no problem, it is saved correctly everyt...
asked by 27.02.2018 / 19:28
1
answer

touch several buttons with a finger

I am wanting to make a piano in parts, how could I do the effect of when I play a key and dezlizing to the left or right (without lifting my finger) the other notes sound? Almost use the same keypad code. Reading out there would I have to...
asked by 14.02.2018 / 19:28
2
answers

Activate the BroadcastReceiver after a certain time

My goal is that the BroadcastReceiver does NOT activate when the app is installed, as it does, but waits for a button to be pressed and after pressing that button it waits for an X time and starts to perform its functions. In this case you must...
asked by 24.02.2018 / 23:39
1
answer

Pass parameter from an Activity to a Class

I have an ACTIVITY public class MainActivity extends AppCompatActivity implements SensorEventListener, View.OnClickListener { private SensorManager mSensorManager; private Sensor mAccelerometer; private Sensor mBrujula; pri...
asked by 26.02.2018 / 11:17
1
answer

Solution for when I execute reac-native command?

By placing the command "react-native run-android with the phone simulator with Genymotion it does not execute me, I have configured the environment variables of the JDK several times and I still can not move forward.     
asked by 30.01.2018 / 20:30
1
answer

java.lang.RuntimeException: Unable to start activity ComponentInfo

I do not understand why these errors came out I saw in google that it was because I had a code above setContentView() but I removed all the code from that java file and I just left the design and still did not close the application. Re...
asked by 09.02.2018 / 19:19
2
answers

Problems installing an application

I was trying some things in android studio and I realize that it does not run on Android 5.0 or 6.0, it only runs on 7.0. I am using compileSdkVersion 26, minSdkVersion 21 and targetSdkVersion 26 so it should not have any problem. The error of t...
asked by 14.04.2018 / 18:56