• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Android Studio, Butterknife and error on static methods (Androix X)

I am making a project of connecting to the star wars api, getting json object replies and presenting them on my View through recycleView (in short). However i am getting erros on build project through my gradle file (here in its entirety) :

apply plugin: 'com.android.application'

android {

// Configure only for each module that uses Java 8
// language features (either in its source code or
// through dependencies).
compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

compileSdkVersion 28
buildToolsVersion "27.0.3"
defaultConfig {
applicationId "com.juangm.bottomnavigationmvp"
minSdkVersion 26
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])

androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
androidTestImplementation 'androidx.test:runner:1.1.0'
androidTestImplementation 'androidx.test:rules:1.1.0'

compile 'com.android.support:appcompat-v7:28.3.1'
compile 'com.android.support:cardview-v7:28.3.1'
compile 'com.android.support.constraint:constraint-layout:1.1.3'
compile 'com.android.support:design:28.3.1'
compile 'com.android.support:support-v4:28.3.1'
testCompile 'junit:junit:4.12'
compile 'com.jakewharton:butterknife:8.3.2'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.0.5'
implementation 'com.jakewharton:butterknife-compiler:8.1.0'
compile 'com.squareup.retrofit2:retrofit:2.5.0'
compile 'com.squareup.retrofit2:converter-gson:2.5.0'
compile 'com.squareup.okhttp3:okhttp:3.12.0'
compile 'com.squareup.okhttp3:logging-interceptor:3.8.1'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.7.3'
compile 'com.android.support:support-annotations:28.0.0'
implementation 'com.android.support:recyclerview-v7:28.1.1

The error i am getting : **Static interface methods are only supported starting with Android N (--min-api 24): void butterknife.Unbinder.lambda$static$0() Stack trace: **

As you can see, i have already added the compile options for JAVA.version 1_8 on the gradle, but it does not seem to solve the problem.

Any help is appreciated...​

RSA Fingerprint dialog

I have messed myself up and need some help to be able to resume debugging a webpage I wrote which is misbehaving in some of the browsers on my phone.

I have a Samsung A5 (2017) and Samsung phones apparently have some special challenges in getting connected to laptops for debugging, as discussed in this thread at StackOverflow: https://stackoverflow.com/questions...evices-does-not-detect-device-when-plugged-in

Fortunately, I was using the technique in the second suggested technique (by studocwho) and it was working well until I did a slight variation on his technique: when I changed the USB Connection from MTP (Media Transport Protocol) to Audio Source and the dialog about the RSA key appeared, I checked the checkbox thinking that this would cause the RSA fingerprint to be sent from my phone to my laptop automatically each time so that I wouldn't get the RSA fingerprint dialog any more, save a couple of seconds, and still connect to the laptop. As it turns out, that is NOT what happened at all. For whatever reason, it stopped giving me the dialog and also failed to send the RSA fingerprint to the laptop AT ALL. The laptop just waits patiently for me to accept the debugging session on the phone (see screen shot) but the phone does absolutely nothing at all. Apparently, checking that checkbox prevents the RSA fingerprint from being sent so no debugging session can start at all.

How do I get that RSA dialog to appear again so that I can start my debug session? I have to believe there is SOME way to reverse the effect of checking that checkbox but I'm darned if I know what it is. I've tried rebooting the phone but that didn't do it.

updater script check release key cm11 kitkat

Hi I am porting roms for my spare phone. The updater-script will perform "otasigcheck" after mounting /data partition. Here is what it says:
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data");
package_extract_file("system/bin/otasigcheck.sh", "/tmp/otasigcheck.sh");
package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey");
set_metadata("/tmp/otasigcheck.sh", "uid", 0, "gid", 0, "mode", 0755);
run_program("/tmp/otasigcheck.sh");
sha1_check(read_file("/tmp/releasekey"),"7241e92725436afc79389d4fc2333a2aa8c20230") && abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");

Can anyone tell what is the use of the "otasigcheck" codes? Thanks!

Need links to default apps for Moto C Plus

I was playing around with adb, and deleted some stock apps. Now I find two minor problems:

1. When I try to give an app permission to sd card, that app crashes. Also when i try to access sd card from settings tab, settings app crashes. I think its got to do with file explorer, but not sure which app that i deleted is causing this.

2. When I try to download something, say from google drive, the download wont start, nothing happens. I am guessing its got to do with downloads manager which i deleted.

Would be great if anyone would suggest what can I do here.

Thanks

Apps How to debug USB OTG application?

I am working on an Android application which talks to external device via USB. How can I debug such an app?

Is it possible for virtual device to use real USB in OTG mode and connect to external device?

How do I wire real phone for debugging? I need my PC to be USB host for USB debugging right? So if PC is connected to phone USB port is busy. Is it possible to wire real phone to be USB host for external device while having PC debugging the app?

Looking for an 8-inch tablet with high resolution

My 8-inch Asus Zenpad Z580C is 5 years old and still running Android 5.0, which can't be updated. I have to keep freeing up memory to play games and it often crashes but it has the best screen resolution (2048 x 1536) I've seen Graphics are sharp and colors are vivid. I am trying to find something to replace it.

Admittedly, I've been spoiled with the displays on my Asus tablet, Galaxy Note 10+ phone, and Surface Pro 6, but I am looking for another tablet with decent screen resolution and can't seem to find one. I bought an 8-inch Galaxy Tab A but might return it because I find the 1280 x 800 display washed out and fuzzy. They are still selling the same model Asus Zenpad on Amazon but it is still running Android 5.0! There's a slightly higher resolution Galaxy Tab with cellular, which I don't need and don't want to pay that much extra for. I'd prefer an 8 inch tablet but would consider 10 inch if I could get one with great screen resolution.

Any suggestions?

Help How to stop Android 9 switching between wifi networks

I have an Invizbox VPN device connected to my router. I can connect my Huawei P10 (Android 9) to the VPN n/w ok but if the signal strength degrades a bit, Android automatically reverts to the router n/w. I thought in older versions this could be prevented, but it seems this has been removed in v9. I've set 'network connection method' to manual but this doesn't prevent the problem. Would appreciate any help.

htc desire a8181 help needed

hi, iv an htc desire a8181 - all of a sudden, it can power on, get to htc logo quiet brilliant & repeats

press vol down & hit power, same as above

backbutton & power on gets to recovery cant use vol buttons

power button lets u select fastboot or bootloader, if u select fastboot, when sd card in, it says pp.. no image

-revolutionary-
bravo pvt1 ship s-off
hboot-6.93.1002
microp-031d
touch panel-synt0101
radio-5.17.05.23
aug 10 2010, 17:52:10

i wonder if i should get another, as its rgt size - problem main hand & im naff at tech, but 3g is being phased out? is there anypoint?? been good upto now

excuse the weak explaining of problem

thank
jij

Wipeout deno mode?

I bought a new Galaxy s7 edge from someone not realizing that it was stuck in demo mode from the old retailer. I called and they told me it wasnt stollen and I was ok to keep it but the guy didnt know how to get it out of demo mode? Is it even possible to do? If I'm out of my money I'm going to be upset but if its possible to fix and be able to use, then it will be what makes my whole year as the guy who sold it to me, did so not knowing it's TRUE value. Please help

Beginner - Emulator Doesn't Install Problem

Hello Folks:

I've spent many years writing many lines of C++ code for Windows. It's time to try Android apps.

Last night I installed Android Studio 4.0 and started the following tutorial by Caleb Curry:


It looks like a good tutorial, but I'm open to suggestions.

After several hours I'm wondering if my system is compatible with the Android Emulator Hypervisor Driver for AMD.

I've never run a virtual machine, so I'm probably doing something dumb.

My system's two years old with an AMD Ryzen 5 1600 processor. It's a low ball system purchased in early 2018 after my very nice laptop died, when prices for everything were through the roof.

The answer might be there, with the Ryzen 5 processor.

Someone responded to a question in Reddit that they're running 6 virtual machines on their AMD 1600:

https://www.reddit.com/r/Amd/comments/c9k4d7/virtual_machine_in_ryzen/

I'll go into more detail in case the processor's not the problem.

This site says I have to turn off three Windows features:

https://androidstudio.googleblog.com/2019/10/android-emulator-hypervisor-driver-for.html

Those features weren't turned on in my system:

E9huRaM.png


The Component Installer started off all right:

rBrv1AP.png


And then:

xXcogNs.png


This is what my BIOS screen looks like. See anything I need to do, or look at?

9CWI0x3.jpg


Suggestions?

Thanks
Larry

I am trying to view or mirror my screen on another Android phone

I'm trying to find out if there is a way or an app I can download to make it so that I can you view or mirror my broken phone screen on my other Android device. I have a double sided type c connector maybe that would help?? Please do help me out here guys I've read about being able to mirror the broken phone screen onto a PC but I'd like to know if I can do it with my other Android device the one that I'm trying to view or mirror the screen and content from has a fully broken screen but that is the only broken part of it. But that screen does not turn on. Thanks

Filter

Back
Top Bottom