skip to Main Content

Android Studio – How can i solve android studio gradle problem in my NEW Macbook M1 Pro chip 14?

11:13:21 PM: Executing ':app:Test.main()'... FAILURE: Build failed with an exception. Where: Initialization script '/private/var/folders/69/bx79vy654zb3tyf4s26vdyc00000gp/T/Test_main__.gradle' line: 41 What went wrong: A problem occurred configuring project ':app'. Could not create task ':app:Test.main()'. SourceSet with name 'main' not found. Try: Run with --stacktrace…

VIEW QUESTION

OkHttp3 response string show html file instaed of download file data – PHP

I using Okhttp3 for download file from server in android application. my link is http://www.webweb.infinityfreeapp.com/lichi/download.php?path=Add.jpg it download file in firefox, chorme smoothly, while in okhttp3 response string shows <html><body><script>document.cookie="_test=9e105a99e90025d241c180c29fad3231 ; expires=Thu, 31-Dec-37 23:55:55 GMT; path=/" ;document.location.href="http://www.webweb.infinityfreeapp.com/lichi/download.php?path=Add.jpg&i=1";</script></body></html> but i feel response…

VIEW QUESTION

Visual Studio Code – flutter error in android build.gradle , Could not run phased build action

I get an error in my android>build.gradle file. The build.gradle file: buildscript { ext.kotlin_version = '1.6.10' repositories { google() mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:7.1.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'com.google.gms:google-services:4.3.13' } } allprojects { repositories { google() mavenCentral() } } rootProject.buildDir…

VIEW QUESTION
Back To Top
Search