Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直在尝试运行我的应用程序(android),但每次调用第二个活动时它都会崩溃,我有一个名为 MainActivity.java 的主要活动,第二个是 Game.java,XML 文件与活动。
崩溃的 XML 代码:
XML
游戏.java
我知道我在 OnCreate 方法中做了一些愚蠢的事情,但请忽略它我真的需要帮助我t know what I没有做错!
t know what I
客户端(蟒蛇):
theta = math.sin(23/3) / 300 y = math.cos(23/11) / 20 data=struct.pack('<ff',theta,y) # pack with two float s.sendto(data, (ip, 50000))
服