This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#sunday morning my friend get error about desktop ubuntu 14.04 Freeze, i have to try some many my DE trick's but no effect :/ | |
#and Then i'm surfing and get another good review about that same case on his blog's, thank's zhang. | |
#and now maybe you need it, hope it can help you... | |
What’s the problem? | |
After boot into Ubuntu 14.04, you enter your credential and the system just hangs up, freezes. If you are lucky, you might see mouse cursor, background wallpaper but nothing else. | |
Solutions may work |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*MANUAL CONFIG*/ | |
*need java | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get install oracle-java8-installer | |
//need eclipse | |
https://eclipse.org |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Are you sure you imported android.widget.Spinner and not something else named the same thing? Maybe try the following, just to be sure, change your error line to : | |
android.widget.Spinner s = (android.widget.Spinner) findViewById(R.id.spinner); | |
If it doesn't give you a problem there then odds are high that you have a namespace problem. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
added this line on your field layout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls | |
ls (hd0,msdos6)/ | |
set root=(hd0,msdos6) | |
ls / | |
set prefix=(hd0,msdos6)/boot/grub | |
insmod /boot/grub/linux.mod | |
normal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Type conflict. | |
Your Activity can't have name GridView, because it conflicts with android.widget.GridView. Compiler thinks that you want to cast to GridView extending Activity, not the widget class. | |
Solutions: | |
rename you GridView | |
use fully qualified type here: */ | |
android.widget.GridView gridview = (android.widget.GridView) findViewById(R.id.gridview); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it's just simple solution to take screenshot android emulator from terminal. | |
adb shell screencap -p | perl -pe 's/\x0D\x0A/\x0A/g' > screen.png | |
made easy with create bash | |
alias screenshot="adb shell screencap -p | perl -pe 's/\x0D\x0A/\x0A/g' > ~/creatorb/android_screenshot.png" | |
based tutorials : http://blog.shvetsov.com/2013/02/grab-android-screenshot-to-computer-via.html | |
When you can't find command adb, surely your adb path is correct. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nano /etc/network/interfaces | |
Default conf show like this: | |
auto lo | |
iface lo inet loopback | |
and now following add this lines and save it and close: | |
auto eth0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
su | |
setprop service.adb.tcp.port 5555 | |
stop adbd | |
start adbd | |
#Remember to close the tcp when connecting to public networks if you want to feel safe.You can do the following or simply restart the device: | |
su | |
setprop service.adb.tcp.port -1 | |
stop adbd |