Posts

Showing posts from September, 2019

ENOENT: no such file or directory assets/debug/CodePushHash

ENOENT: no such file or directory, open 'android/app/build/intermediates/assets/debug/CodePushHash' make -p android/app/build/intermediates/assets/debug

error: resource android:attr/fontVariationSettings not found.

In app/buid.gradle add the following config: implementation(project(":react-native-device-info"), { exclude group: "com.google.android.gms" }) implementation "com.google.android.gms:play-services-gcm:16.0.0"

Can not find signal CLIP_SAVE_FLAG

canvas.save(Canvas.CLIP_SAVE_FLAG); Those flags have been removed in API 28. // canvas.save(Canvas.CLIP_SAVE_FLAG); canvas.save();

Expected configuration ':ReactAndroid:compile' to contain exactly one file, however, it contains no files.

in the file android/ReactAndroid/build.gradle - compile 'org.webkit:android-jsc:r174650' + implementation 'org.webkit:android-jsc:r174650' configurations { customConfig.extendsFrom implementation } from zipTree(configurations.customConfig.fileCollection { dep -> dep.name == 'android-jsc' }.singleFile)

below the minimum supported version (28.0.3) for Android Gradle Plugin 3.2.1.

About two month again, everything compile seems normal. But now Android Studio always return errors. The solution is change 27.0.3 to 28.0.3. in build.radle: afterEvaluate {project -> // force libs to use recent buildtools if (project.hasProperty("android")) { android { compileSdkVersion = 28 // change to match your desired version buildToolsVersion = "28.0.3" // .... } } } Also don't forget to update build.gradle cmd with implementation, testImplementation, androidTestImplementation and compileOnly.

iOS App Submit 6.5 Inch Screenshot from Simulator

You need to use iPhone XS Max to submit screenshots with 1242 x 2688 pixels (portrait) 2688 x 1242 pixels (landscape).

Process 'command 'node_modules/@sentry/cli/bin/sentry-cli'' finished with non-zero exit value 127

Edit sentry.gradle def osCompatibility = Os.isFamily(Os.FAMILY_WINDOWS) ? ['cmd', '/c', 'node'] : [] to def osCompatibility = Os.isFamily(Os.FAMILY_WINDOWS) ? ['cmd', '/c', 'node'] : ['/Users/you/.nvm/versions/node/v11.0.0/bin/node']

Make error: Package nettle was not found in the pkg-config search path

apt-get install libc6-dev-i386 #if install failed: apt-get install libc6-dev-i386 --fix-missing export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig vim build_dir/target-mips_24kc_musl-1.1.16/dnsmasq-full/dnsmasq-2.73/Makefile all: export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig $(CC) $(CFLAGS) $(COPTS) $(i18n) $(build_cflags) $(RPM_OPT_FLAGS) -I/usr/include -I/usr/include/x86_64-linux-gnu/ -c $ make package/dnsforwarder/compile V=99

Xcode Compile Error: "Library not found for -lstdc++.6.0.9"

copy library from xcode 9.4.1 to xcode10/11 cp patch/xcode10/9.4.1/iPhoneOS.platform/libstdc++.*.tbd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/ cp patch/xcode10/9.4.1/iPhoneSimulator.platform/libstdc++.*.tbd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/ cp patch/xcode10/9.4.1/RuntimeRoot/libstdc++.*.dylib /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib

Xcode Error: Undefined symbols for architecture arm64

Undefined symbols for architecture arm64: "_JCORECheckFormatOfMobileNumber Add libRCTJCoreModule.a Undefined symbols for architecture arm64: "_JCORECheckFormatOfMobileNumber", referenced from: -[JPUSHService setMobileNumber:completion:] in libRCTJPushModule.a(JPUSHService.o)

Gradle Error: Unable to find a matching configuration of project

When encounter the follow error in Android Studio: Unable to find a matching configuration of project :xxx: None of the consumable configurations have attributes. You'd better checkout the path of xxx module in the settings.gradle.

make error: `.rodata' can not be used when making a PIE object

vim Malefile + -no-pie $(CC) $(LDFLAGS) -no-pie -o src/po2lmo src/po2lmo.o src/template_lmo.o

mutex.h:105:10: 'config.h' file not found

cd node_modules/react-native/third-party/glog-0.3.4) Once actively in this folder, run ../../scripts/ios-configure-glog.sh