Android Studio Error on First Run (Windows)

After installing Android Studio on my new laptop and then running it for the first time, it throw a dialog box detailing error messages, a quick search on Google point me to this link Issue 172032: Android Studio Start failed with internal error and the “temporary solution” is simple, just edit file located in

C:\Program Files\Android\Android Studio\bin\

then add this text

and save, then try to relaunch Android Studio, it works like a charm 🙂

Note: editing file required Administrator privileges so you maybe need to launch your editor as Administrator

Code Igniter Error: Disallowed Key Characters

1. Search for function _clean_input_keys on /system/core/Input.php

2. Modify this line

exit(‘Disallowed Key Characters.’);


exit(‘Disallowed Key Characters.’ .  $str);

3. Refresh page to see the characters which generate the error

4. If you need to add those characters into the exception list, just add to this line

if ( ! preg_match(“/^[a-z0-9:_\/-]+$|/i”, $str))

I add | (pipe) character on the example above

Note: In most cases you can resolve the problem just by clearing the cookies