Why can't I install my Titanium project onto S2 - titanium

I am using Titanium SDK Version 6.0.0
So I have been able to install the project onto a 'NextBook' running Android 4.4.2
But when I try and deploy it to an S2 with 4.1.2 I get the following error
Failed to install apk on "001938f563f26e"
Error: Unknown option: -d
I am using usb debugging
the device has 1.7 GB of free space
Has anyone seen this error before ?
Thank for helping

In the manifest section of your tiapp.xml what do you have set for android:minSdkVersion? Should be 16 or higher to target that device.
On the device, Settings -> Security, have you enabled installation from 'unknown sources'?
If you run 'monitor' or 'monitor.exe' in a terminal, then do the install, is there any additional context surrounding the installation error that might be useful?
If you run 'adb devices', is your device listed? Yes, your device may very well return a serial id instead of a name.
What is your adb version? adb --version
Try to install the built apk manually
adb devices
adb install /path/to/your/project.apk

Related

Redis Source Code Compile Failed on macOS Mojave

The Redis 5.0 source code has failed to compile on macOS Mojave.
The MAKE log can be found here: https://gist.github.com/eliu/c56bffc0f3dc5f6a826949af5b4483b2
I know Redis can be installed via brew, but I need to know the way to compile the source code on macOS. Please help.
I solved it myself. Fix it when removing the following packages installed via Homebrew:
brew uninstall binutils openvpn bash gcc rocker

IOT Edge V2 - Deploying and Debugging Python on the Edge Device

I've been following the tutorial at https://learn.microsoft.com/en-us/azure/iot-edge/tutorial-python-module
On my development machine, the python lint in Visual Studio Code is reporting the error: E0401:Unable to import 'iothub_client' on main.py.
I wonder if I'm missing a pre-requisite step, or is this just an advisory that can be ignored on the development side of things and it should be ok once deployed - or do I need to fix this error on the development machine first?
I've successfully run the previous tutorial and have tempSensor running. filterSensor seems to terminate and go into a "backoff" state once deployed, with an error of 1. I don't know how I can find out on the Edge-side why it is failing - how do I go about debugging this? Can I see print statement output anywhere, for example?
I'm developing on Mac, and deploying to a Beaglebone running Ubuntu 16.04 LTS.
For the Python lint issue, yes you are right that this information is just advisory. The cause for it showing up is that you did not install Azure IoT Python SDK which is a pip package on your development machine. You can safely ignore it because the SDK will be installed when building the module image (there is a RUN pip install -r requirements.txt step in the Dockerfile).
If you want to resolve this lint information, you can install the SDK on your development machine manually by running pip install -r requirements.txt in the root folder of the module.

Error: Module administration/tfasettings not found

I'm busy working on developing some plugins and apps, and when i am running c8y server locally and i try to enter Administration, i keep getting the following error:
Error: Module administration/tfasettings not found
Any ideas?
We have already fixed the issue for versions >= 9.1.0. Please try to install version 9.1.0 (or higher) with c8y install command. If administration/tfasettings
is still missing use npm cache clean --force and then once again try to install version 9.1.0 (or higher) with c8y install command.
Best regards
Dawid

React Native: "Google Chrome exited with error..." after scan the QR code

I have just started to use React Native. Everything was going ok, but now Im getting this error after scanning the QR code using Expo:
I get also this error in Expo:
I'm using Ubuntu 16.04, nodejs 7.10, and an external device connected.
I have restarted Ubuntu and my phone, but the error persists.
Ubuntu recognizes my phone after running adb devices.
I can give you more information about my settings if you ask for it.
I had the same error just now. Reinstalling Expo on my phone then installing chromium using sudo apt-get install chromium-browser did the trick.

Ubuntu Appcelerator - Cannot install node on platforms other than windows or mac

Appc is successfully setup via terminal. Each prerequisite installed but on Studio launch Appcelerator cannot find/recognize installed node and tries to install node again and prompts "cannot install node on platforms other than windows or mac".
Since I am using the latest version of Titanium so it requires the latest Node.js (nodejs, node and npm). Appcelerator tries to install node because it does not find any compatible version.
Secondly Appcelerator tries to install all pending prerequisites and it cannot install node on platforms other than windows or mac so you have to install nodejs via terminal.
To debug issues try to run programs via terminal. Particular to Appcelerator in Ubuntu, go the directory and run it by command $ ./AppceleratorStudio
It will prompt all ERRORS, WARNINGS and NOTICES.