Cordova android emulation – Error: Cannot read property ‘semver’ of null

This is due using an emulator with an unstable Developer Preview API version. You probably have a device using API 27 (Android 8.1). Open your AVD, remove that device and re-run. It’s also useful to use –target <emulator_name> when launching the emulator if you have more than one. To get a list of available names … Read more

android device id confusion

IMEI The IMEI is the ‘MAC‘ for the telephony module – the unique ID that the telephone uses when it connects via GSM/GPRS/HSPDA/etc. The GSM network uses it to route calls and data from the phone over the GSM network right up to the gateway into the Internet (which is an IP network). A telephony … Read more

Device going offline randomly (and appearing multiple times as offline) in Eclipse – fixes?

I was just tinkering around at home with some development, and started noticing this behavior for the first time. After reading through the suggestions (USB plugs in particular), I got to thinking that the USB cable I had at hand is pretty wimpy looking, so I grabbed the cable I normally use for work (it’s … Read more

How to run logcat on multiple devices?

Use the -s option of adb: adb -s <serialnumber> Example C:\Users\lel>adb devices List of devices attached 192.168.198.101:5555 device 0123456789ABCDEF device adb -s 0123456789ABCDEF logcat adb -s 192.168.198.101:5555 logcat You can combine grep whit this, to get all lines that contain it. an example is with System.out Example: adb -s 192.168.198.101:5555 logcat | grep “System.out”

Xcode – iPhone – profile doesn’t match any valid certificate-/private-key pair in the default keychain

To generate a certificate on the Apple provisioning profile website, firstly you have to generate keys on your mac, then upload the public key. Apple will generate your certificates with this key. When you download your certificates, tu be able to use them you need to have the private key. The error “XCode could not … Read more

ImageView displaying in layout but not on actual device

I had the same issue, it is only showing in Design tab for Android Studio 2.2. What I did to make it work is to change the automatic key assigned (populated via Drag/Drop ImageView) from app:srcCompat=”https://stackoverflow.com/questions/18251187/@drawable/logo” to android:src=”https://stackoverflow.com/questions/18251187/@drawable/logo” in Text tab to make it appear on both the emulator and the device e.g <ImageView android:layout_width=”wrap_content” … Read more