#Not able to run the android from windows

1 messages · Page 1 of 1 (latest)

inner wadi
#

Adding only few lines as the error is so long

Task :app:stripDebugDebugSymbols
e: file:///C:/Users/Sunil/Herd/demo-app/nativephp/android/app/src/main/java/com/demoapp/demoapp/androidphp/bridge/LaravelEnvironment.kt:17:7 Redeclaration:
class LaravelEnvironment<InputStream> : Any
e: file:///C:/Users/Sunil/Herd/demo-app/nativephp/android/app/src/main/java/com/demoapp/demoapp/androidphp/bridge/PHPBridge.kt:25:7 Redeclaration:
class PHPBridge : Any
e: file:///C:/Users/Sunil/Herd/demo-app/nativephp/android/app/src/main/java/com/demoapp/demoapp/androidphp/network/PHPRequest.kt:3:12 Redeclaration:
data class PHPRequest : Any

arctic edge
#

Interesting, I’ll look into that but I would probably wait till v1.1 anyway, lots of updates

inner wadi
#

Oh sure, till that i am trying to debug the issue

#

One more question i want to ask is whenever i try to run below command

php artisan native:install

It just set sdk.dir= as empty in local.properties file and when i tried to run the app in debug mode it shows error

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ':app'.

SDK location not found. Define a valid SDK location with an ANDROID_HOME environment variable or by setting the sdk.dir path in your project's local properties file at 'C:\Users\Sunil\Herd\demo-app\nativephp\android\local.properties'.

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

BUILD FAILED in 786ms

Configure project :app
Warning: Incomplete signing configuration - some properties are missing
No signing configuration available - building unsigned
WARNING: The following problems were found when resolving the SDK location:
Where: sdk.dir property in local.properties file. Problem: Set with empty value

❌ Build failed. Check the output above for details.