Issue I’ve been working my way through developing a simple "Hello World" application for Android on the command-line. Ideally, I’d like to use a tool like CMake, or Meson so that I can manage a larger application in the future.
Continue readingTag: command-line
How to set proxy server for gradle?
Issue I need to set a proxy server to be able to use gradle from my company’s network to download project dependencies.I tried setting the proxy for shell, but it didn’t work, so i assume it is because of the
Continue readingHow to specify platforms when using "flutter create -t plugin"?
Issue When creating a new Flutter plugin template from the command line using flutter create, if you do not specify any platforms, the default is (as of now), that no platforms are included. What is the actual verbatim command you
Continue readingNDK build failed on Gitlab ci
Issue my android project require NDK, in app/build.gradle android { … ndkVersion ‘23.1.7779620’ … } it work build on local. But throw failed on gitlab-ci like this : > Task :app:configureNdkBuildDebug[arm64-v8a] FAILED C/C++: /builds/company/repo/android-home/ndk/23.1.7779620/build/ndk-build: line 151: file: command not found
Continue readingProgram 'flutter.bat' failed to run: Access is deniedAt line:1 char:1
Issue does anyone know? why is this error: PS D:\Andnata77\Belajar\FLUTTER\flutter_application_1> flutter pub get Program ‘flutter.bat’ failed to run: Access is deniedAt line:1 char:1 flutter pub get At line:1 char:1 flutter pub get + CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException +
Continue readingBuild Android Studio app via command line
Issue I want to build an Android Studio app (the Gradle build system), but I want to do this via the command line. Solution Android Studio automatically creates a Gradle wrapper in the root of your project, which is how
Continue readingHow to Dynamically Create or Set a BuildConfigField for Android Studio Using Gradle Command Line
Issue I know how to create a buildConfigField variable and set its value in my build.gradle file. E.g. buildConfigField ‘String’, ‘BUILD_VALUE’, ‘HELLO WORLD’. I also know how to pass in an argument from gradle command line via task. For instance,
Continue readingHow to "Launch" Android Gradle App using command line on emulator and physical device. Not just build
Issue How to use the command line to launch Android Gradle apps on emulator and physical device via command line. Emulator is of Android Studio. I tried gradlew.bat assembleDebug but it does not ‘launch’, it simply builds. Solution Build Using
Continue readingHow to generate 11 char hash key for Sms Retriever with Google App signing
Issue I had generated the 11 char hash using the AppSignatureHelper class. But after uploading the apk to play store, they hash doesn’t work anymore. And I found out that Play replaces the key with another one which is why
Continue readingCommand PhaseScriptExecution failed with a nonzero exit code flutter
Issue I got an error when I tried to add flutter to an existing iOS app it worked fine on the android side, in IOS I got this error message : /Users/mac/Library/Developer/Xcode/DerivedData/Fixit- dffmmspbqmueppghdvveloietubr/Build/Intermediates.noindex/Fixit.build/Debug- iphoneos/Fixit.build/Script-04B0EA9A232E6ABD008A0448.sh: line 3: /packages/flutter_tools/bin/xcode_backend.sh: No such file
Continue reading