Reputation: 11
I just finished my first flutter app and I'm having trouble with the controls on my phone. Basically the app works fine on the emulator with all the operators and button functions.
Let me show you some pictures. The app is in Slovenian, but that doesn't matter.
This image is from emulator Button works normaly;
This image is from my phone after flutter build. Button dont work
What's the catch?
I tried this:
<uses-permission android:name="android.permission.INTERNET"/>
in AndroidManifest.
Do I need to change something else?
Also when I make: -flutter clean -flutter pub get -flutter pub upgrade -flutter build apk
I get those 4 errors:
warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings
Upvotes: 1
Views: 12