Skip to content

Instantly share code, notes, and snippets.

View narenarjun's full-sized avatar

narenarjun

View GitHub Profile
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
@narenarjun
narenarjun / lenovo_ideapad_330_ubuntu.md
Created January 10, 2020 08:41 — forked from debojyoti/lenovo_ideapad_330_ubuntu.md
Lenovo ideapad 330 (15ARR) ubuntu issues and there solutions

Lenovo ideapad 330 (15ARR) ubuntu issues and their solutions

Issue-1: None of the ubuntu distros are getting installed

Solution: Ubuntu distros lower than 18.10 will not work in this laptop, as minimum kernal version required is 4.18.

So install ubuntu 18.10 / xubuntu 18.10 / lubuntu 18.10 / kubuntu 18.10 in UEFI mode

Issue-2: Wifi is not working

@narenarjun
narenarjun / error
Created August 9, 2019 09:38
after addding firebase to the flutter project and when starting the app from cold , it throws this error
Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling
software rendering with "--enable-software-rendering".
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle... 8.6s
Resolving dependencies... 14.0s
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
D8: Cannot fit requested classes in a single dex file (# methods: 76759 > 65536)
@narenarjun
narenarjun / errorlog
Created August 5, 2019 04:32
flutter project androidx error when incorporated device location permission
Launching lib\main.dart on Android SDK built for x86 in debug mode...
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Android resource linking failed
Output: D:\flutterbrewery\clima\build\app\intermediates\merged_manifests\debug\processDebugManifest\merged\AndroidManifest.xml:16: error: unexpected element <user-permission> found in <manifest>.
Command: C:\Users\NAREN\.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\099a8dfeaae3e37f8f2b4e70d0454a6f\aapt2-3.2.1-4818971-windows\aapt2.exe link -I\
C:\Users\NAREN\AppData\Local\Android\sdk\platforms\android-28\android.jar\