skip to Main Content

android studio not formatting dart code correctlly

I'm writing flutter app, and I have this block of dart code Widget launchScreen() { return Screen( child: Container( color: Colors.lightBlue, child: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ Container( height: 200, width: 200, child: Image.asset("resources/images/logo.png") ), ] ) )…

VIEW QUESTION

Android Studio – Getting error : Manifest merger failed with multiple errors

I'm just creating a simple scratch card app. But while launching, I got these errors, Task :app:processDebugMainManifest FAILED [com.android.support:animated-vector-drawable:28.0.0] C:UsersSibam.gradlecachestransforms-2files-2.1e9624393a49dd94b2ca40a9ffdf35a3eanimated-vector-drawable-28.0.0AndroidManifest.xml Warning: Package name 'android.support.graphics.drawable' used in: com.android.support:animated-vector-drawable:28.0.0, com.android.support:support-vector-drawable:28.0.0. [androidx.versionedparcelable:versionedparcelable:1.1.1] C:UsersSibam.gradlecachestransforms-2files-2.19c1a19876166723a3f4a522f5e580c9eversionedparcelable-1.1.1AndroidManifest.xml Warning: Package name 'androidx.versionedparcelable' used in: androidx.versionedparcelable:versionedparcelable:1.1.1, com.android.support:versionedparcelable:28.0.0. D:LuteraaScratchCardappsrcmainAndroidManifest.xml:24:18-86 Error:…

VIEW QUESTION

Android studio can't override default theme

I'm trying to assign a theme to a button with a custom background. It looks simply like this: <style name="button"> <item name="android:background">@drawable/buttonbackground</item> </style>‌ <Button android:theme="@style/button"/> The button keeps it's original background, but for TextView, for example, it works. <TextView android:theme="@style/button"/>…

VIEW QUESTION
Back To Top
Search