Category : gradle

build.gradle(:app) buildscript { repositories { maven { url ‘https://maven.fabric.io/public’ } } dependencies { classpath ‘io.fabric.tools:gradle:1.31.2’ } } apply plugin: ‘com.android.application’ //apply plugin: ‘kotlin-android-extensions’ //apply plugin: ‘kotlin-android’ repositories { maven { url ‘https://maven.fabric.io/public’ } mavenCentral() } android { compileSdkVersion 30 buildToolsVersion ‘28.0.3’ defaultConfig { applicationId ‘com.transasia.ctrack’ minSdkVersion 16 targetSdkVersion 30 versionCode 42 versionName "3.5.5" multiDexEnabled true ..

Read more

My app builds succesfully and I was following a youtube tutorial on building this app and it keeps crashing over and over. How do I use the gradle build log to fix my errors? This is my gradle debug log. E/AndroidRuntime: FATAL EXCEPTION: main Process: kwabena.osei.n01379580, PID: 28853 java.lang.RuntimeException: Unable to start activity ComponentInfo{kwabena.osei.n01379580/kwabena.osei.n01379580.KwabenaActivity}: android.view.InflateException: ..

Read more

Running an app (created by "expo init appName" in Bare Workflow) on Android requires to first react-native start and then react-native run-android. What happens is – In 1st terminal, I run react-native start (tried from VS Code terminal, normal terminal, each of these as admin too). It works fine. In 2nd terminal, I run react-native ..

Read more