Inside Eclipse Android project run Java classes with main()

本文介绍了如何在Android项目中解决启动配置问题,通过移除AndroidLib从特定类的启动配置来解决。提供了两种方法:一是编辑启动配置,移除问题条目;二是使用RunAs -> Android Application方式运行。

In case of an Android project, you have to remove Android Lib from the launch configuration for that specific class. Use the "walkthrough" below as a guide.

  • Project->Properties->Run/Debug Settings;
  • Select your Class and click "Edit";
  • Open the tab "Classpath" and remove Android Lib from "Bootstrap Entries";
  • Apply everything and Run the class again.

OR

You can get past this by using the Run As -> Android Application. Possibly check the Run configuration for other issues.

Skip to main content School of Computer Science Moodle 2023-2024 Home Dashboard My courses 11 COMP3033J-2025-26 Assignments Assignment 3 Assignment 3 Completion requirements Opened: Friday, 10 October 2025, 12:00 AM Due: Thursday, 20 November 2025, 11:59 PM Please download "Assignment3 to be completed.zip” file from the moodle . The task for this assignment is to complete all the methods in the classes provided. First task: Complete Point4f, Vector4f in GraphicsObjects Complete objects3D Cylinder & Sphere (10 % of your grade to make sure your work was done correctly from assignment 2) Second task: Run the program and you should a half human , that moves around in a circle facing the wrong way. The "a” key changes the animation Holding down your mouse allows you to rotate your view point, based on an Arcball, its only really useful dragging in 4 directions as the arcball is changing your perspective. Dragging to the corners will change the perspective and warp your model. To reset your view press "r” key and "e” key will put an example code object , the texture sphere . You are to complete the Human class and create a humanoid character ( 40% of your grade is based on you completing a human with 4 limbs. Please make the model more detailed than my example and ideally use the texture code form task 4 ) Remember for your project you can reuse this human class so the more detail, the better Third task: Animate the scene using the code provided and using the notes. The better the animation, the higher marks you will get . To make the animation work , examine the arm and leg code inside the human class. This LimbRotationvariable is used to sync up the movement. Use this code to complete the animation. You will need to edit both human.java and Mainwindow to make the animation correct in terms of how model rotates in the scene correctly. ( 30% of your grade is based on your animation quality , remember joints move only in certain angles ) Fourth task: With everything running, now I want you to customize your human with a texture. Example the texture code in the TexSphere class. Write a new class called TexCube , and use it to make a textured sign for you sign. You can put anything on the sign just to demonstrate your code works . Remember a cube can be scaled into a flat shape using GL11.glScalef . ( 10% of your grade is based on making this sign and with this code you can improve on your task 2 ) As always please write a comment in your code. ( 10% of your grade will be based on these comments) Please submit on moodle. Please zip the whole the eclipse project folder. (You will not be graded if the whole eclipse folder is not included) Submitting within a week after the official deadline incurs 20% penalty. Submitting later than 1 week incurs 50% Submission status Attempt number This is attempt 1. Submission status No submissions have been made yet Grading status Not graded Time remaining 8 days 17 hours remaining Last modified - Submission comments Comments (0) Grading criteria Task 1: Complete Point4f, Vector4f in GraphicsObjects Complete objects3D Cylinder & Sphere Task 2: Complete the Human class and create a humanoid character Task 3: Animate the scene Task 4: TexCube Comments Rubric Complete previous classes No completed 0 points Completed 10 points Human Class No limbs 0 points Some limbs 10 points 4 limbs basic 20 points Detailed Human & with one texture 30 points Detailed human with multiple Textures 40 points Animation No improvement / Incorrect animation 0 points Basic animation, model goes in a circle facing the right direction 10 points The model moves its limb correctly and goes in a circle 20 points Animation is smooth and detailed 30 points TexCube No textured Cube 0 points Textured Cube in the scene 10 points Comments No comments 0 points Some comments 5 points Well commented 10 points Contact site support You are logged in as Yuhan Zhong (Log out) Data retention summary PoliciesGet the mobile app Powered by Moodle
最新发布
11-13
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值