Android Studio ndk project asset_manager_jni.h – no such file or directory error

Problem

While building an Android java library project with Android Studio, a compiler error occurs: “android/asset_manager_jni.h: No such file or directory“. Java sources are in the main/java folder. C++ native sources are placed into the main/jni folder. When I try to compile the whole library without my custom Android.mk, there is no error! When using it, my own ndkbuild in the build.gradle fails with the above error. I searched for solutions but none helped me. Environment: MacBook, OS X: Yosemite, IDE: Android Studio 1.1.0. I installed the latest NDK android-ndk-r10d. What do I miss? (Project code was included).

Continue reading Android Studio ndk project asset_manager_jni.h – no such file or directory error

View embedded ad-hoc provisioning profile in an iOS .ipa file

Question

How to check out UDID numbers of test devices that are on the embedded ad-hoc provisioning profile list of my iOS 8 application? The .ipa file is compiled by Xcode 6.2 and exported for ad-hoc deployment through its Organizer. Machine: iMac, OS X Yosemite 10.10.2., so my question is: how can I check which devices are associated to my ad-hoc provisioning profile for the given iOS application?

Continue reading View embedded ad-hoc provisioning profile in an iOS .ipa file

How to clean up Mail in OS X Yosemite

Question

On checking SSD disk on my MacBook Pro I noticed that ~50 GB free space has disappeared without any notification in the past few months. I did not install any new applications or big data, and already removed temporary files and caches, and cleared ~/Download folder and Trash. Safari, Mail, Adobe PhotoShop and Final Cut are extensively used. I heard that Mail cannot work well with Google mail servers and it may store tons of cache files. Deleted files and attachments are not removed from local storage etc. I have a couple of gmail accounts and some mails with large attachments. I am using IMAP google accounts and Mac Mail 8.2 on Yosemite 10.10.3. Is the source of the mess is the Mail? How to clean it up?

Continue reading How to clean up Mail in OS X Yosemite

iTunes Store operation failed. The app referenced non-public selectors

Question

While validating my iOS app with iTunes AppStore, the organizer of Xcode 6.1.1 pops up an error “iTunes Store operation failed. The app referenced non-public selectors in Payload/my.app: messageSent” There is no such private or public method or name of class member or variable in my app. Actually such a string does not exist in my code. What can I do?

Continue reading iTunes Store operation failed. The app referenced non-public selectors

WordPress – slider and featured posts with given category name

Question

My WordPress 4.1 web site supports featured content and header slider. I’ve added a child theme. Posts, I want to show, have the ‘featured’ content tag and image, and are organized into multi-leveled categories. In the slider I want to present only those posts and pages (!) that have the given top level category slug. All other posts on its children categories should be excluded. How to configure the slider to use only the posts and pages with the given category and nothing more?

Continue reading WordPress – slider and featured posts with given category name

Configure NetBeans to test and deploy Raspberry Pi project

The Raspberry Pi (RPi) is a great strong device to play with. It is definiately not the perfect gadget to run resource hungry IDE, and develop c, c++, web… or Java applications on. Use your own laptop or desktop computer to build your code, test it and debug it while the code is running on the device. NetBeans for Mac (and Windows) is a reliable IDE with remote testing and deployment options.

Continue reading Configure NetBeans to test and deploy Raspberry Pi project

Blog for us