how to fix the issue “Command /bin/sh failed with exit code 1” in iphone
Click On Run checkbox if not selected.
Click On Run checkbox if not selected.
I fixed this issue by selecting API 27+: Android API 27, P preview (Preview) in the project structure settings. Following image shows my setting. The 13 errors that were coming while building the app, have disappeared.
For Cordova based project, run cordova clean android before build again, as @mkimmet suggested.
I had a similar problem when I did major changes to my Podfile. My solution was to remove the workspace file and run pod install again: rm -rf MyProject.xcworkspace pod install
The m2eclipse plugin doesn’t use Eclipse defaults, the m2eclipse plugin derives the settings from the POM. So if you want a Maven project to be configured to use Java 1.6 settings when imported under Eclipse, configure the maven-compiler-plugin appropriately, as I already suggested: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.1</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> If your project … Read more