Skip to main content

Posts

Android: Xamarin Studio: Cannot find: C:\Android\SDK\tools\..\platform-tools\aapt.exe

Error: Android: Xamarin Studio: Cannot find: C:\Android\SDK\tools\..\platform-tools\aapt.exe Fix: 1. Check your Target Device / OS version you set up in the AndroidManifest.xml 2. Open the Android SDK Manager, see if that version is listed . 3. You may not have installed all the SDK versions of Android (like 13, 14, 15,16,17,18, 19,....) 4. This above error shows- You have installed an SDK , but but you donot have the ' platform SDK Build tools ' for the target version you have in your AndroidManifest.xml file. 5. From the list of plaform tools - install the version you need. The below picture shows the list of 'SDK Build tools' under 'Tools' in Android SDK Manager. (This shows  Android SDK Build-Tools for all the versions are installed )

Xamarin Studio: Execution Failed. Object reference not set to an instance of an object.

ERROR:   Xamarin Studio: Execution Failed. Object reference not set to an instance of an object. ISSUE:  When you try to run your project by menu item 'Run Item' from Xamarin Studio project, the top middle status bar shows the above error. FIX: 1. Notice that in the top bar - the second dropdown is empty (Device list). 2. You have to set your project as a 'Set as Startup project' - (Right click on the project name to see this option in the popup menu) - This is the situation when you have or had multiple projects in the solution or running the project inside an existing solution. The 'Run' command needs to know what project to associate with what device.

Android: No resource found that matches the given name (at background with value '@drawable/ xxxX')

ERROR:  No resource found that matches the given name (at background with value '@drawable/XxxXxx') FIX: Use all lower case when you specify the image file name in the Values / styles.xml. It doesn't matter if you have camel letters in the filename under the Resource Folder. Example:  Instead of this, < item   name = " android : windowBackground " > @drawable/ Splash < / item > Use, < item   name = " android : windowBackground " > @drawable/ splash < / item >

Graph Data Modeling and Normalization

If you are starting with Graph Database from E-R modeling here is a  great short video shows to the point info about Graph Data modeling by Peter Bell. Use the Index on the Starting point . Use relationships for all others If you need Index on a property, break it into a NODE and add relationship to it. Use Relationships for all other queries Using sentences from graph or from Business stack holders to graph is a great way to communicate to the business people. Look out for missing Words , ex: Tom emailed to Sam - while Tom and Sam are Nodes and Emailed is an action, if you want to capture the things happen around the 'Email'  - add Tom - send  - Email - To - Sam. Check out his video at http://www.infoq.com/presentations/Data-Modeling-Graphs

Visual Studio Error: The fully qualified file name must be less than 260 characters

ERROR: Visual Studio (also nuget error)  The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2156195-fix-260-character-file-name-length-limitation FIX: Not an Error! Thats the feature of the world's best IDE - This is one big flaw in the IDE that Visual Studio conflicts with the Windows Operating system. The Windows OS supports long file path by default. VS couldn't support because the earlier developers applied this restriction in whole bunch of Windows sub products. oops. So, Change your file path, move the files and minimize the path length  to a simple (<260 charecters) directory , file path.

Phonegap Install errors - npm Error: ENOENT

ERROR: npm WARN engine phonegap@2.9.0rc1-0.12.0: wanted: {"node":">=0.10.0"} (current: {"node":"v0.8.20","npm":"1.2.11"})   npm  Error: ENOENT phonegap\node_modules\shelljs\package.json FIX: As you see the warning itself shows version incompatibility. This warning further down will fire few errors with installing 'package.json' and others. Fixing the version of nodejs will fix the most errors. So install new version  for nodejs or update the nodejs with nvm .   npm cache clean - will not work in this case as the Nodejs 0.10.29 doesn't show install steps in the console unless you set it up. ERROR: “‘npm’ is not recognized as an internal or external command, operable program or batch file.”   FIX: --- Restart  the system. Some times the Path doesn't take effect until a restart in windows.

Checking signature with Gpg4win - Kleopatra - Error Set up at least one ceterificate server

Error: Gpg4win - Kleopatra - Error Set up at least one ceterificate server FIX: This document shows details about PGP Certificate servers and how to set up one.    http://gpg4win.org/doc/en/gpg4win-compendium_22.html At the fist time you open the Kleopatra - Settings first row in the below window may be empty. Just 'CLICK THE NEW BUTTON' - it will automatically fill up this default certificate server  ( hkp://keys.gnupg.net   ) for you. The above document doesn't address this correctly. Great reference: http://www.gpg4win.org/ http://dev.mysql.com/doc/refman/5.6/en/checking-gpg-signature-windows.html