Comments (7)
I'm getting this exact same problem on Android 7.0, latest stock ROM on a Nvidia Shield tablet.
I used adb logcat to get more info, and I'm seeing NetworkOnMainThreadException being thrown. I think this might be why:
https://developer.android.com/about/versions/nougat/android-7.0-changes.html#other
Due to a bug in previous versions of Android, the system did not flag writing to a TCP socket on the main thread as a strict-mode violation. Android 7.0 fixes this bug. Apps that exhibit this behavior now throw an android.os.NetworkOnMainThreadException
A quick fix would be to just disable this strict mode. I think this code would do it(?)
StrictMode.setThreadPolicy(StrictMode.ThreadPolicy.Builder().permitNetwork().build());
from slide-android.
@aetha just tried that with my fork of the project, and it works on android 7.0+ now. (There are some other issues that I'm working on still, but at least it doesn't crash)
from slide-android.
@Cheerfultrout download?
EDIT: Nvm, got it to compile!
If anyone in the future needs the APK, just ask!
from slide-android.
Someone can share the apk that works in android 7?
from slide-android.
@TheArcaneBrony @WinterJava Please learn to build from git clones instead of relying on releases. It will help you a lot here on GitHub
from slide-android.
what program i should use? i need the apk
from slide-android.
I used Android Studio for the whole process, from cloning the repo, patching, and building the apk, see if you can get it to work in there? Should be various turorials online for how to.
from slide-android.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slide-android.